summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl/parser.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-02-19 10:35:52 +0000
committerdlg <dlg@openbsd.org>2010-02-19 10:35:52 +0000
commit119f0f1dd7d6ec63814a312ebe61ae20977be985 (patch)
tree61056a81c081990cdbe721ed158afdf549efcfa6 /usr.sbin/ospfctl/parser.c
parentmore hw has been tested (diff)
downloadwireguard-openbsd-119f0f1dd7d6ec63814a312ebe61ae20977be985.tar.xz
wireguard-openbsd-119f0f1dd7d6ec63814a312ebe61ae20977be985.zip
implement ospfctl fib reload.
this tells the daemon to resync the kernels list of interfaces and routes with the daemons list. this is very useful if the routing socket overflows and you want to sync things up again. lots and lots of help from claudio@ ok claudio@
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 42717e9e330..314ec0ffa33 100644
--- a/usr.sbin/ospfctl/parser.c
+++ b/usr.sbin/ospfctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.17 2009/11/13 20:09:54 jsg Exp $ */
+/* $OpenBSD: parser.c,v 1.18 2010/02/19 10:35:52 dlg Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -71,6 +71,7 @@ static const struct token t_main[] = {
static const struct token t_fib[] = {
{ KEYWORD, "couple", FIB_COUPLE, NULL},
{ KEYWORD, "decouple", FIB_DECOUPLE, NULL},
+ { KEYWORD, "reload", FIB_RELOAD, NULL},
{ ENDTOKEN, "", NONE, NULL}
};