Fix 4 typos
As given, the macro was ignoring its bi0...bi3 arguments, and would
only work if the arguments happened to be given as pi0..pi3
Change-Id: I5a8b163fcfc6b8197534d474fcd952b2e8b2694b
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/vlib/vlib/buffer_node.h b/vlib/vlib/buffer_node.h
index 0cf5f86..8a77904 100644
--- a/vlib/vlib/buffer_node.h
+++ b/vlib/vlib/buffer_node.h
@@ -146,42 +146,42 @@
to_next -= 4; \
n_left_to_next += 4; \
\
- /* If pi0 belongs to "next", send it there */ \
+ /* If bi0 belongs to "next", send it there */ \
if (next_index == next0) \
{ \
- to_next[0] = pi0; \
+ to_next[0] = bi0; \
to_next++; \
n_left_to_next --; \
} \
else /* send it where it needs to go */ \
- vlib_set_next_frame_buffer (vm, node, next0, pi0); \
+ vlib_set_next_frame_buffer (vm, node, next0, bi0); \
\
if (next_index == next1) \
{ \
- to_next[0] = pi1; \
+ to_next[0] = bi1; \
to_next++; \
n_left_to_next --; \
} \
else \
- vlib_set_next_frame_buffer (vm, node, next1, pi1); \
+ vlib_set_next_frame_buffer (vm, node, next1, bi1); \
\
if (next_index == next2) \
{ \
- to_next[0] = pi2; \
+ to_next[0] = bi2; \
to_next++; \
n_left_to_next --; \
} \
else \
- vlib_set_next_frame_buffer (vm, node, next2, pi2); \
+ vlib_set_next_frame_buffer (vm, node, next2, bi2); \
\
if (next_index == next3) \
{ \
- to_next[0] = pi3; \
+ to_next[0] = bi3; \
to_next++; \
n_left_to_next --; \
} \
else \
- vlib_set_next_frame_buffer (vm, node, next3, pi3); \
+ vlib_set_next_frame_buffer (vm, node, next3, bi3); \
\
/* Change speculation: last 2 packets went to the same node */ \
if (next2 == next3) \