diff options
author | 2015-07-21 05:43:46 +0000 | |
---|---|---|
committer | 2015-07-21 05:43:46 +0000 | |
commit | fe91619e3f3cc520135ded95e076f0829fe21c8b (patch) | |
tree | ef6121c80d35d196874d60c2c91cd11bf24ef683 | |
parent | Improve the show lib command. (diff) | |
download | wireguard-openbsd-fe91619e3f3cc520135ded95e076f0829fe21c8b.tar.xz wireguard-openbsd-fe91619e3f3cc520135ded95e076f0829fe21c8b.zip |
Re-enable the reload command.
ok claudio@
-rw-r--r-- | usr.sbin/ldpctl/ldpctl.8 | 6 | ||||
-rw-r--r-- | usr.sbin/ldpctl/parser.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/ldpctl/ldpctl.8 b/usr.sbin/ldpctl/ldpctl.8 index 552db6f59d7..630697207e6 100644 --- a/usr.sbin/ldpctl/ldpctl.8 +++ b/usr.sbin/ldpctl/ldpctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ldpctl.8,v 1.6 2010/09/01 13:59:17 claudio Exp $ +.\" $OpenBSD: ldpctl.8,v 1.7 2015/07/21 05:43:46 renato Exp $ .\" .\" Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> .\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 1 2010 $ +.Dd $Mdocdate: July 21 2015 $ .Dt LDPCTL 8 .Os .Sh NAME @@ -48,6 +48,8 @@ the kernel routing table. Disable verbose debug logging. .It Cm log verbose Enable verbose debug logging. +.It Cm reload +Reload the configuration file. .It Cm show fib Op Ar destination | filter Show the Label Forwarding Information Base. .Ar destination diff --git a/usr.sbin/ldpctl/parser.c b/usr.sbin/ldpctl/parser.c index 3312de06f08..660e023ed7f 100644 --- a/usr.sbin/ldpctl/parser.c +++ b/usr.sbin/ldpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.6 2013/06/04 02:40:17 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.7 2015/07/21 05:43:46 renato Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -63,7 +63,7 @@ static const struct token t_show_fib[]; static const struct token t_log[]; static const struct token t_main[] = { -/* {KEYWORD, "reload", RELOAD, NULL}, */ + {KEYWORD, "reload", RELOAD, NULL}, {KEYWORD, "fib", FIB, t_fib}, {KEYWORD, "show", SHOW, t_show}, {KEYWORD, "log", NONE, t_log}, |