ofp-util: Simplify logic for computing vlan_tci and vlan_tci_mask.
authorBen Pfaff <blp@nicira.com>
Tue, 31 May 2011 23:15:44 +0000 (16:15 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Jun 2011 16:05:36 +0000 (09:05 -0700)
commit47271d0d8d12c5689cd0103dc47b62913a515b36
treec1ecb32550f31689b7188f29c30fefcd0c88de25
parent943e5afe0b450fc665a4a162fe1bacafd34d18e8
ofp-util: Simplify logic for computing vlan_tci and vlan_tci_mask.

I believe that this is completely equivalent to, but simpler than, the code
that was here before.
lib/ofp-util.c