From: Justin Pettit Date: Tue, 23 Sep 2008 18:22:03 +0000 (-0700) Subject: Cleanup printing of ofp_port_mod a bit. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52b6f66fd57dbc592db74f4347a2d2443ef2e75;p=openvswitch Cleanup printing of ofp_port_mod a bit. --- 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"); } }