X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-print.c;h=1cd946260ff2b8cfcbf3a3b20458f3da84a5770c;hb=9b45d7f5d;hp=77719118c57cf66149c75db3a24c06d38d169f12;hpb=ee8b231cfc819f518f02b52ceda3cd199546fda2;p=sliver-openvswitch.git diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 77719118c..1cd946260 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -1320,18 +1320,6 @@ ofp_print_echo(struct ds *string, const struct ofp_header *oh, int verbosity) } } -static void -ofp_print_nxt_status_message(struct ds *string, const struct ofp_header *oh) -{ - struct ofpbuf b; - - ofpbuf_use_const(&b, oh, ntohs(oh->length)); - ofpbuf_pull(&b, sizeof(struct nicira_header)); - ds_put_cstr(string, " \""); - ds_put_printable(string, b.data, b.size); - ds_put_char(string, '"'); -} - static void ofp_print_nxt_tun_id_from_cookie(struct ds *string, const struct nxt_tun_id_cookie *ntic) @@ -1508,11 +1496,6 @@ ofp_to_string__(const struct ofp_header *oh, ofp_print_ofpst_aggregate_reply(string, oh); break; - case OFPUTIL_NXT_STATUS_REQUEST: - case OFPUTIL_NXT_STATUS_REPLY: - ofp_print_nxt_status_message(string, oh); - break; - case OFPUTIL_NXT_TUN_ID_FROM_COOKIE: ofp_print_nxt_tun_id_from_cookie(string, msg); break;