summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2008-03-17 16:08:19 +0000
committerFrancis Dupont <fdupont@isc.org>2008-03-17 16:08:19 +0000
commitcf4223963576e4f8cfff6eb4621f996a713cecf4 (patch)
treea89d9732e8034cb867af61a89abdbd5d87f9931d
parent99bc940f0994cd369688d42b567d57b8ab83da98 (diff)
downloadisc-dhcp-cf4223963576e4f8cfff6eb4621f996a713cecf4.tar.gz
fix 'o'
-rw-r--r--common/parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/parse.c b/common/parse.c
index 6392a8f1..ce83fc47 100644
--- a/common/parse.c
+++ b/common/parse.c
@@ -5278,6 +5278,8 @@ int parse_option_decl (oc, cfile)
for (fmt = option -> format; *fmt; fmt++) {
if (*fmt == 'A')
break;
+ if (*fmt == 'o' && fmt != option -> format)
+ continue;
switch (*fmt) {
case 'E':
fmt = strchr (fmt, '.');