diff options
Diffstat (limited to 'src/vnet/ip')
-rw-r--r-- | src/vnet/ip/ip_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_types.h b/src/vnet/ip/ip_types.h index 907d4f0afa9..2049170ea23 100644 --- a/src/vnet/ip/ip_types.h +++ b/src/vnet/ip/ip_types.h @@ -53,6 +53,7 @@ typedef struct ip_address #define IP_ADDRESS_V4_ALL_0S {.ip.ip4.as_u32 = 0, .version = AF_IP4} #define IP_ADDRESS_V6_ALL_0S {.ip.ip6.as_u64 = {0, 0}, .version = AF_IP6} +#define ip_address_initializer IP_ADDRESS_V6_ALL_0S #define ip_addr_46(_a) (_a)->ip #define ip_addr_v4(_a) (_a)->ip.ip4 |