summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpctl/bgpctl.c5
-rw-r--r--usr.sbin/bgpctl/parser.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index d17dc5ab1e8..adfb300fc51 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.114 2007/02/02 15:53:39 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.115 2007/02/22 08:38:19 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -482,7 +482,8 @@ show_neighbor_msg(struct imsg *imsg, enum neighbor_views nv)
p->conf.remote_masklen) == -1)
err(1, NULL);
} else
- if ((s = strdup(log_addr(&p->conf.remote_addr))) == NULL)
+ if ((s = strdup(log_addr(&p->conf.remote_addr))) ==
+ NULL)
err(1, "strdup");
ina.s_addr = p->remote_bgpid;
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index de895e18f30..caec5342bc0 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.37 2007/02/01 20:27:37 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.38 2007/02/22 08:38:19 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -62,8 +62,8 @@ static const struct token t_main[];
static const struct token t_show[];
static const struct token t_show_summary[];
static const struct token t_show_fib[];
-static const struct token t_show_rib[];
-static const struct token t_show_rib_neigh[];
+static const struct token t_show_rib[];
+static const struct token t_show_rib_neigh[];
static const struct token t_show_neighbor[];
static const struct token t_show_neighbor_modifiers[];
static const struct token t_fib[];
@@ -813,4 +813,3 @@ inet6applymask(struct in6_addr *dest, const struct in6_addr *src, int prefixlen)
for (i = 0; i < 16; i++)
dest->s6_addr[i] = src->s6_addr[i] & mask.s6_addr[i];
}
-