Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d25147d
)
ip: fix the order in ip4 punt redirect
60/27760/1
author
Mohsin Kazmi
<sykazmi@cisco.com>
Thu, 2 Jul 2020 08:56:57 +0000
(10:56 +0200)
committer
Mohsin Kazmi
<sykazmi@cisco.com>
Thu, 2 Jul 2020 09:00:39 +0000
(11:00 +0200)
Type: fix
Fixes:
a84cb715f5a4366dd2f32de18ad92bec566924da
Change-Id: Id448d6ae9cfdd3122e8187121c509412835117c5
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/ip/ip4_punt_drop.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/ip4_punt_drop.c
b/src/vnet/ip/ip4_punt_drop.c
index
65b2401
..
94c260a
100644
(file)
--- a/
src/vnet/ip/ip4_punt_drop.c
+++ b/
src/vnet/ip/ip4_punt_drop.c
@@
-359,8
+359,8
@@
ip4_punt_redirect_cmd (vlib_main_t * vm,
unformat_vnet_sw_interface, vnm, &rx_sw_if_index))
;
else if (unformat (line_input, "via %U %U",
- unformat_ip4_address,
unformat_vnet_sw_interface
,
-
&nh.ip4
, vnm, &tx_sw_if_index))
+ unformat_ip4_address,
&nh.ip4
,
+
unformat_vnet_sw_interface
, vnm, &tx_sw_if_index))
;
else if (unformat (line_input, "via %U",
unformat_vnet_sw_interface, vnm, &tx_sw_if_index))