projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif-netdev: Avoid pointlessly maintaining a port count.
[openvswitch]
/
vswitchd
/
ovs-brcompatd.c
diff --git
a/vswitchd/ovs-brcompatd.c
b/vswitchd/ovs-brcompatd.c
index 3dd25c37b2e2cf569ea9c13375656a7b58b90812..c1cc8175e7dcc825aebaef0e7bee0d5c4738ab36 100644
(file)
--- a/
vswitchd/ovs-brcompatd.c
+++ b/
vswitchd/ovs-brcompatd.c
@@
-488,7
+488,7
@@
handle_fdb_query_cmd(struct ofpbuf *buffer)
struct mac *mac = &local_macs[n_local_macs];
struct netdev *netdev;
struct mac *mac = &local_macs[n_local_macs];
struct netdev *netdev;
- error = netdev_open
_default(iface_name
, &netdev);
+ error = netdev_open
(iface_name, "system"
, &netdev);
if (!error) {
if (!netdev_get_etheraddr(netdev, mac->addr)) {
n_local_macs++;
if (!error) {
if (!netdev_get_etheraddr(netdev, mac->addr)) {
n_local_macs++;
@@
-885,7
+885,7
@@
parse_options(int argc, char *argv[])
usage();
case 'V':
usage();
case 'V':
-
OVS_PRINT_VERSION
(0, 0);
+
ovs_print_version
(0, 0);
exit(EXIT_SUCCESS);
case OPT_APPCTL:
exit(EXIT_SUCCESS);
case OPT_APPCTL: