X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fconnmgr.c;h=288580460f94e433103e7a2013e0181c7188bb4b;hb=85813857630f6a09786f3ab2b2129a8513491e64;hp=ba93a1d58df1e261c417e15fe07ddc767864120a;hpb=473f65a256fb7c41c8de2cf7c5f228b8dbb12576;p=openvswitch diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index ba93a1d5..28858046 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -840,7 +840,7 @@ ofconn_get_invalid_ttl_to_controller(struct ofconn *ofconn) /* Returns the currently configured protocol for 'ofconn', one of OFPUTIL_P_*. * - * The default, if no other format has been set, is OFPUTIL_P_OPENFLOW10. */ + * The default, if no other format has been set, is OFPUTIL_P_OF10_STD. */ enum ofputil_protocol ofconn_get_protocol(struct ofconn *ofconn) { @@ -1034,7 +1034,7 @@ ofconn_flush(struct ofconn *ofconn) int i; ofconn->role = NX_ROLE_OTHER; - ofconn->protocol = OFPUTIL_P_OF10; + ofconn->protocol = OFPUTIL_P_OF10_STD; ofconn->packet_in_format = NXPIF_OPENFLOW10; /* Disassociate 'ofconn' from all of the ofopgroups that it initiated that