aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-09-26 13:15:54 -0700
committerBen Pfaff <blp@nicira.com>2011-09-26 13:15:54 -0700
commitdc155bff1bf6045c4eccbb5443b24d19448a4f7d (patch)
tree762cace7c88209db7c674a28259291c1ba5055df /lib
parent823518f1f26c2320c35e762c9d1bd29e68f9c5b8 (diff)
ofproto-dpif: Get rid of OFP_VLAN_NONE pollution.
OFP_VLAN_NONE used to be convenient as a value for struct dst's 'vlan' member, because it ended up being used in actions anyway, but now it's much better to just use 0.
Diffstat (limited to 'lib')
-rw-r--r--lib/bond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bond.c b/lib/bond.c
index e15af04a..416f2b30 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -1178,7 +1178,7 @@ bond_unixctl_hash(struct unixctl_conn *conn, const char *args_,
return;
}
} else {
- vlan = OFP_VLAN_NONE;
+ vlan = 0;
}
if (basis_s) {