diff options
author | 2010-01-13 11:33:12 +0000 | |
---|---|---|
committer | 2010-01-13 11:33:12 +0000 | |
commit | 4b80bbd077e53ec9b5aee08605a4684a4d6d89da (patch) | |
tree | 0f3ec5985295c92586e68aa177619398010471a1 /usr.sbin/ldpctl/parser.c | |
parent | sync with mirrors.dat update (diff) | |
download | wireguard-openbsd-4b80bbd077e53ec9b5aee08605a4684a4d6d89da.tar.xz wireguard-openbsd-4b80bbd077e53ec9b5aee08605a4684a4d6d89da.zip |
Fix problems with incomplete arrays that was fixed in other ospfctl
based programs a few months back.
ok claudio@
Diffstat (limited to 'usr.sbin/ldpctl/parser.c')
-rw-r--r-- | usr.sbin/ldpctl/parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpctl/parser.c b/usr.sbin/ldpctl/parser.c index f3652d2a105..db9d8e16a3d 100644 --- a/usr.sbin/ldpctl/parser.c +++ b/usr.sbin/ldpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.2 2009/11/02 20:35:20 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.3 2010/01/13 11:33:12 jsg Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -149,7 +149,7 @@ parse(int argc, char *argv[]) } const struct token * -match_token(const char *word, const struct token table[]) +match_token(const char *word, const struct token *table) { u_int i, match; const struct token *t = NULL; @@ -229,7 +229,7 @@ match_token(const char *word, const struct token table[]) } void -show_valid_args(const struct token table[]) +show_valid_args(const struct token *table) { int i; |