summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl/parser.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2011-05-09 12:25:35 +0000
committerclaudio <claudio@openbsd.org>2011-05-09 12:25:35 +0000
commit97494e2586053a8f58fa63b48cf1123cbb5472c6 (patch)
tree0e2086c8951fb25abeb47991c67224ae25e2df8d /usr.sbin/ospfctl/parser.c
parentFirst bits to support opaque LSA. Type-9, 10 and 11 are LSA that can (diff)
downloadwireguard-openbsd-97494e2586053a8f58fa63b48cf1123cbb5472c6.tar.xz
wireguard-openbsd-97494e2586053a8f58fa63b48cf1123cbb5472c6.zip
ospfctl bits for opaque LSA support.
tested and OK sthen@
Diffstat (limited to 'usr.sbin/ospfctl/parser.c')
-rw-r--r--usr.sbin/ospfctl/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/parser.c b/usr.sbin/ospfctl/parser.c
index 8c2f70b51f3..d7be6d19d81 100644
--- a/usr.sbin/ospfctl/parser.c
+++ b/usr.sbin/ospfctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.19 2010/09/04 21:31:04 tedu Exp $ */
+/* $OpenBSD: parser.c,v 1.20 2011/05/09 12:25:35 claudio Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -102,6 +102,7 @@ static const struct token t_show_db[] = {
{KEYWORD, "router", SHOW_DBRTR, NULL},
{KEYWORD, "self-originated", SHOW_DBSELF, NULL},
{KEYWORD, "summary", SHOW_DBSUM, NULL},
+ {KEYWORD, "opaque", SHOW_DBOPAQ, NULL},
{ENDTOKEN, "", NONE, NULL}
};