From: Ben Pfaff Date: Tue, 10 Mar 2009 23:37:43 +0000 (-0700) Subject: cfg: Fix collision between CFG_VLAN and CFG_REQUIRED. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a9a0e9ce51e2ab9867bbb73f183dfc6b50bb391;p=openvswitch cfg: Fix collision between CFG_VLAN and CFG_REQUIRED. --- diff --git a/lib/cfg.h b/lib/cfg.h index cd2a2856..250a7152 100644 --- a/lib/cfg.h +++ b/lib/cfg.h @@ -50,8 +50,8 @@ enum cfg_flags { CFG_VLAN = 1 << 6, /* Integer in range 0...4095. */ /* Number allowed. */ - CFG_REQUIRED = 1 << 6, /* At least one value allowed. */ - CFG_MULTIPLE = 1 << 7 /* More than one value allowed. */ + CFG_REQUIRED = 1 << 7, /* At least one value allowed. */ + CFG_MULTIPLE = 1 << 8 /* More than one value allowed. */ }; void cfg_register(const char *key_spec, enum cfg_flags);