summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-03-31 12:46:56 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-03-31 12:46:56 +0000
commitbde6eb8ceec63f9033a16cd79a08038c3f1c625f (patch)
tree057fafa86cdb9757e23b0265205f000b4fa02745 /usr.sbin/bgpctl/parser.c
parentd6dc2823cd48bec4bfa8b04c3200f7ad0abe18fa (diff)
some KNF, partially pt out by rivo nurges <rix@estpak.ee>
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index d894bf7eeb0..710b07cb74a 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.41 2007/03/28 12:34:08 henning Exp $ */
+/* $OpenBSD: parser.c,v 1.42 2007/03/31 12:46:55 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -136,7 +136,7 @@ static const struct token t_show_rib[] = {
{ ASTYPE, "transit-as", AS_TRANSIT, t_show_as},
{ ASTYPE, "peer-as", AS_PEER, t_show_as},
{ ASTYPE, "empty-as", AS_EMPTY, t_show_rib},
- { KEYWORD, "community", NONE, t_show_community},
+ { KEYWORD, "community", NONE, t_show_community},
{ FLAG, "detail", F_CTL_DETAIL, t_show_rib},
{ FLAG, "in", F_CTL_ADJ_IN, t_show_rib},
{ FLAG, "out", F_CTL_ADJ_OUT, t_show_rib},
@@ -206,8 +206,8 @@ static const struct token t_show_ip[] = {
};
static const struct token t_show_community[] = {
- { COMMUNITY, "", NONE, t_show_rib},
- { ENDTOKEN, "", NONE, NULL}
+ { COMMUNITY, "", NONE, t_show_rib},
+ { ENDTOKEN, "", NONE, NULL}
};
static const struct token t_network[] = {