From a52b6f66fd57dbc592db74f4347a2d2443ef2e75 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Tue, 23 Sep 2008 11:22:03 -0700 Subject: [PATCH] Cleanup printing of ofp_port_mod a bit. --- lib/ofp-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ofp-print.c b/lib/ofp-print.c index bacd37cc..bd064f78 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -683,11 +683,11 @@ ofp_print_port_mod(struct ds *string, const void *oh, size_t len, ds_put_format(string, "port: %d: addr:"ETH_ADDR_FMT", config: %#x, mask:%#x\n", ntohs(opm->port_no), ETH_ADDR_ARGS(opm->hw_addr), ntohl(opm->config), ntohl(opm->mask)); - ds_put_format(string, " advertised: "); + ds_put_format(string, " advertise: "); if (opm->advertise) { ofp_print_port_features(string, ntohl(opm->advertise)); } else { - ds_put_format(string, "Unchanged\n"); + ds_put_format(string, "UNCHANGED\n"); } } -- 2.30.2