From 8a9a0e9ce51e2ab9867bbb73f183dfc6b50bb391 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 10 Mar 2009 16:37:43 -0700 Subject: [PATCH] cfg: Fix collision between CFG_VLAN and CFG_REQUIRED. --- lib/cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2