diff options
author | 2016-01-05 21:26:17 +0100 | |
---|---|---|
committer | 2016-01-05 21:26:17 +0100 | |
commit | a5d2c70f41deabe7078fc21c8fdc3c612bc11ccf (patch) | |
tree | 96b5ce2f7177b6c12b74991446ae8cb8b47e6ba0 /vnet/vnet/map/ip4_map.c | |
parent | 92be0df475f3165ef0d82da35250c77a223f2954 (diff) |
Fix dual loop >= 4. Fix format specified for printing u64 counter.
Change-Id: I314837f6a3482264fc200493a392e744aa1a21c7
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'vnet/vnet/map/ip4_map.c')
-rw-r--r-- | vnet/vnet/map/ip4_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/map/ip4_map.c b/vnet/vnet/map/ip4_map.c index 559275eb586..6ed176c8e60 100644 --- a/vnet/vnet/map/ip4_map.c +++ b/vnet/vnet/map/ip4_map.c @@ -176,7 +176,7 @@ ip4_map (vlib_main_t *vm, vlib_get_next_frame(vm, node, next_index, to_next, n_left_to_next); /* Dual loop */ - while (n_left_from > 4 && n_left_to_next > 2) { + while (n_left_from >= 4 && n_left_to_next >= 2) { u32 pi0, pi1; vlib_buffer_t *p0, *p1; map_domain_t *d0, *d1; |