diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-10-17 06:36:37 +0530 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-10-16 18:10:49 -0700 |
commit | f778dd110d907a05c8279d97839a652ae4a84796 (patch) | |
tree | f5427915ddd6af139c4969068ae397dc02c675f2 /common/VIL | |
parent | 472b1d330a6b9fe8ff69bb64dd86b788112b888d (diff) |
Fix compilation issue with older gcc
Change-Id: I905743480a1324b5e582fa406f6c98167e04fb1b
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'common/VIL')
-rw-r--r-- | common/VIL/l2l3_stack/lib_arp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/VIL/l2l3_stack/lib_arp.c b/common/VIL/l2l3_stack/lib_arp.c index 5d78d9ba..d59f4b79 100644 --- a/common/VIL/l2l3_stack/lib_arp.c +++ b/common/VIL/l2l3_stack/lib_arp.c @@ -979,10 +979,10 @@ void print_nd_table(void) printf("\n"); } - uint32_t i = 0; + uint32_t i = 0, p = 0; printf("\n\nND IPV6 routing table ...\n"); printf ("\nNH_IP_Address Depth Port \n"); - for(uint32_t p = 0; p < gw_get_num_ports(); p++ ) { + for(p = 0; p < gw_get_num_ports(); p++ ) { for (i = 0; i < p_nd_route_data[p]->nd_route_ent_cnt; i++) { // printf("\n"); |