summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/parse.y
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2013-06-03 16:58:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2013-06-03 16:58:15 +0000
commite26d12b972c48d1484901452ba6eca2553f787f9 (patch)
tree1ba10392f6d2edf0858ac30fc9b9e58d6cc505a4 /usr.sbin/ldpd/parse.y
parentb64056064b992dad8c0d054a05655773e1b73da3 (diff)
Fix bug in the fib-update command
The "fib-update" directive wasn't accepting "no" as an option. Diff by Renato Westphal
Diffstat (limited to 'usr.sbin/ldpd/parse.y')
-rw-r--r--usr.sbin/ldpd/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/parse.y b/usr.sbin/ldpd/parse.y
index 52eea17bed0..fa66d961121 100644
--- a/usr.sbin/ldpd/parse.y
+++ b/usr.sbin/ldpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.15 2013/06/03 16:53:49 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.16 2013/06/03 16:58:14 claudio Exp $ */
/*
* Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org>
@@ -331,6 +331,7 @@ lookup(char *s)
{"holdtime", HOLDTIME},
{"interface", INTERFACE},
{"keepalive", KEEPALIVE},
+ {"no", NO},
{"retention", RETENTION},
{"router-id", ROUTERID},
{"yes", YES}