summaryrefslogtreecommitdiffstats
path: root/src/vat/api_format.c
diff options
context:
space:
mode:
authorIgor Mikhailov (imichail) <imichail@cisco.com>2018-02-12 13:45:51 -0800
committerIgor Mikhailov (imichail) <imichail@cisco.com>2018-02-12 13:45:51 -0800
commit26f341a8392d73735d7f341d7e947150966eeb6b (patch)
tree94de762cb2fc3dffc40f936d7a21813b6650e48c /src/vat/api_format.c
parent7a1928342109cd05cccf9969e61b5fe8f00a18cf (diff)
Fix the order of RFC2685 fields in the output.
Also, output VSS info with names according to RFC6607 (3.5). Change-Id: I27a383515aca1a74dced2363a0c407b2791e5f05 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r--src/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index fcada258aa9..8d2cf17b923 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -9546,7 +9546,7 @@ vl_api_dhcp_proxy_details_t_handler (vl_api_dhcp_proxy_details_t * mp)
if (mp->is_ipv6)
print (vam->ofp,
"RX Table-ID %d, Source Address %U, VSS Type %d, "
- "VSS VPN-ID '%s', VSS FIB-ID %d, VSS OUI %d",
+ "VSS ASCII VPN-ID '%s', VSS RFC2685 VPN-ID (oui:id) %d:%d",
ntohl (mp->rx_vrf_id),
format_ip6_address, mp->dhcp_src_address,
mp->vss_type, mp->vss_vpn_ascii_id,
@@ -9554,7 +9554,7 @@ vl_api_dhcp_proxy_details_t_handler (vl_api_dhcp_proxy_details_t * mp)
else
print (vam->ofp,
"RX Table-ID %d, Source Address %U, VSS Type %d, "
- "VSS VPN-ID '%s', VSS FIB-ID %d, VSS OUI %d",
+ "VSS ASCII VPN-ID '%s', VSS RFC2685 VPN-ID (oui:id) %d:%d",
ntohl (mp->rx_vrf_id),
format_ip4_address, mp->dhcp_src_address,
mp->vss_type, mp->vss_vpn_ascii_id,