aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-11-03 14:02:26 +0100
committerNeale Ranns <nranns@cisco.com>2017-11-03 16:11:35 +0000
commit37d39672de5d3e0d0f928d61eec8f66cd73c7fe8 (patch)
tree6abf305c4d722f07d51ba45891c8103ae7af522c /src/vnet
parent0b0421d710829f8afe48ebb0a23f8860288d71c6 (diff)
NAT64: Input feature arc on virtual interface via interface RX DPO.
Change-Id: If2048c7d72048679bc5d0412f3fae109926f759e Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/dpo/interface_rx_dpo.c2
-rw-r--r--src/vnet/dpo/interface_tx_dpo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/dpo/interface_rx_dpo.c b/src/vnet/dpo/interface_rx_dpo.c
index caaee65a897..b4680f18f2a 100644
--- a/src/vnet/dpo/interface_rx_dpo.c
+++ b/src/vnet/dpo/interface_rx_dpo.c
@@ -154,7 +154,7 @@ format_interface_rx_dpo (u8* s, va_list *ap)
vnet_main_t * vnm = vnet_get_main();
interface_rx_dpo_t *ido = interface_rx_dpo_get(index);
- return (format(s, "%U-dpo: %U",
+ return (format(s, "%U-rx-dpo: %U",
format_vnet_sw_interface_name,
vnm,
vnet_get_sw_interface(vnm, ido->ido_sw_if_index),
diff --git a/src/vnet/dpo/interface_tx_dpo.c b/src/vnet/dpo/interface_tx_dpo.c
index f7c8bfda85b..870579884a0 100644
--- a/src/vnet/dpo/interface_tx_dpo.c
+++ b/src/vnet/dpo/interface_tx_dpo.c
@@ -50,7 +50,7 @@ format_interface_tx_dpo (u8* s, va_list *ap)
CLIB_UNUSED(u32 indent) = va_arg(*ap, u32);
vnet_main_t * vnm = vnet_get_main();
- return (format(s, "%U-dpo:",
+ return (format(s, "%U-tx-dpo:",
format_vnet_sw_interface_name,
vnm,
vnet_get_sw_interface(vnm, index)));