summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-03-07 09:28:15 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-03-07 15:43:10 +0000
commitf7c1a70ba502c83d6e5813344c01edbdfbff6738 (patch)
treedf25004bed3bc5a2c4814dc427d10ac362120750 /src
parent715f94ed94638ea883f919361bff7a3f46fd1d1b (diff)
Fix typo in feature arc constraint
Also, increase ip6 address field width in "show ip6 conn verbose" output Change-Id: If7d1bcd439d94a22d1f1c6c1298cb30aba13d0a2 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/ct6/ct6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/ct6/ct6.c b/src/plugins/ct6/ct6.c
index f0ad67a80c9..dc2b7357d63 100644
--- a/src/plugins/ct6/ct6.c
+++ b/src/plugins/ct6/ct6.c
@@ -293,7 +293,7 @@ VNET_FEATURE_INIT (ct6in2out, static) =
{
.arc_name = "interface-output",
.node_name = "ct6-in2out",
- .runs_before = VNET_FEATURES ("interface-output"),
+ .runs_before = VNET_FEATURES ("interface-tx"),
};
/* *INDENT-ON */
@@ -316,12 +316,12 @@ format_ct6_session (u8 * s, va_list * args)
if (s0 == 0)
{
- s = format (s, "\n%6s%6s%20s%6s%20s%6s",
+ s = format (s, "\n%6s%6s%40s%6s%40s%6s",
"Sess", "Prot", "Src", "Sport", "Dst", "Dport");
return s;
}
- s = format (s, "\n%6d%6d%20U%6u%20U%6u",
+ s = format (s, "\n%6d%6d%40U%6u%40U%6u",
s0 - cmp->sessions[i], s0->key.proto,
format_ip6_address, &s0->key.src,
clib_net_to_host_u16 (s0->key.sport),