projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc58ce
)
cfg: Fix collision between CFG_VLAN and CFG_REQUIRED.
author
Ben Pfaff
<blp@nicira.com>
Tue, 10 Mar 2009 23:37:43 +0000
(16:37 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 11 Mar 2009 00:02:28 +0000
(17:02 -0700)
lib/cfg.h
patch
|
blob
|
history
diff --git
a/lib/cfg.h
b/lib/cfg.h
index cd2a28563d273d2aba5251cc6b93577506a39471..250a71523dadeac85838fd50c523870dbb64816b 100644
(file)
--- 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);