diff options
author | Damjan Marion <damarion@cisco.com> | 2016-04-29 14:51:57 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-04-29 13:29:27 +0000 |
commit | 1a64ab900f31d69098a18183d13c5359233d0ff9 (patch) | |
tree | 846e17787a2bf9d3db5a2a33fa986a5171b5bfaa /vnet/vnet/ip/ip4_forward.c | |
parent | 9444c0673c1b0e05e879862329a16c7893d51afc (diff) |
Fix ip4 address formatting in the show ip fib ouptut
Change-Id: I3ffb2e3cef63cbc9f2abc81bbdedabb34b9b3408
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/ip/ip4_forward.c')
-rw-r--r-- | vnet/vnet/ip/ip4_forward.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/ip/ip4_forward.c b/vnet/vnet/ip/ip4_forward.c index 720450f01ab..bf101bbadab 100644 --- a/vnet/vnet/ip/ip4_forward.c +++ b/vnet/vnet/ip/ip4_forward.c @@ -974,6 +974,7 @@ void ip4_adjacency_set_interface_route (vnet_main_t * vnm, node_index = ip4_arp_node.index; adj->if_address_index = if_address_index; adj->arp.next_hop.ip4.as_u32 = 0; + ip46_address_reset(&adj->arp.next_hop); packet_type = VNET_L3_PACKET_TYPE_ARP; } else |