Message ID | 1468861225-8569-2-git-send-email-cascardo@redhat.com |
---|---|
State | RFC |
Headers | show |
diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 36e80f4..e3ee41a 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -422,9 +422,10 @@ in_band_create(struct ofproto *ofproto, const char *local_name, struct in_band *in_band; struct netdev *local_netdev; int error; + const char *type = ofproto_port_open_type(ofproto->type, "internal"); *in_bandp = NULL; - error = netdev_open(local_name, "internal", &local_netdev); + error = netdev_open(local_name, type, &local_netdev); if (error) { VLOG_ERR("%s: failed to initialize in-band control: cannot open " "datapath local port %s (%s)", ofproto->name,