From 15c9670d9d8c86a3ec242d5b106bc41d9879c13d Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Thu, 2 Jul 2020 10:56:57 +0200 Subject: ip: fix the order in ip4 punt redirect Type: fix Fixes: a84cb715f5a4366dd2f32de18ad92bec566924da Change-Id: Id448d6ae9cfdd3122e8187121c509412835117c5 Signed-off-by: Mohsin Kazmi (cherry picked from commit c6eae9c079defa4812270945d614c4598db262d8) --- src/vnet/ip/ip4_punt_drop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vnet/ip/ip4_punt_drop.c b/src/vnet/ip/ip4_punt_drop.c index 114ef29e195..819eaa14861 100644 --- a/src/vnet/ip/ip4_punt_drop.c +++ b/src/vnet/ip/ip4_punt_drop.c @@ -362,8 +362,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)) -- cgit 1.2.3-korg