X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Frconn.c;h=9b6cd8638223c1ff44d78ad6277973a066cfb1c1;hb=4816a18f33380a33d381b77d41df39113c94500d;hp=67ea86c0e3f17583ec28761a66ff2c09ef9af86a;hpb=cb22974d773942d66da42b700b8bca0db27a0920;p=sliver-openvswitch.git diff --git a/lib/rconn.c b/lib/rconn.c index 67ea86c0e..9b6cd8638 100644 --- a/lib/rconn.c +++ b/lib/rconn.c @@ -672,14 +672,6 @@ void rconn_add_monitor(struct rconn *rc, struct vconn *vconn) { if (rc->n_monitors < ARRAY_SIZE(rc->monitors)) { - int version = vconn_get_version(rc->vconn); - - /* Override the allowed versions of the snoop vconn so that - * only the version of the controller connection is allowed. - * This is because the snoop will see the same messages as the - * controller */ - vconn_set_allowed_versions(vconn, 1u << version); - VLOG_INFO("new monitor connection from %s", vconn_get_name(vconn)); rc->monitors[rc->n_monitors++] = vconn; } else {