summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-12-28 15:33:38 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-12-28 15:33:38 +0000
commit23a9a50cb67462b02ecf403854fe8a2e66659150 (patch)
tree993477079acec849ba84bd2b2f7a6be16fae7ce6
parent9009aada79620f1cc972c7d594f8302b778515f1 (diff)
spacing
-rw-r--r--usr.sbin/snmpd/kroute.c7
-rw-r--r--usr.sbin/snmpd/parse.y4
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/snmpd/kroute.c b/usr.sbin/snmpd/kroute.c
index 969035f82df..3d598389a3c 100644
--- a/usr.sbin/snmpd/kroute.c
+++ b/usr.sbin/snmpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.2 2007/12/06 04:10:46 deraadt Exp $ */
+/* $OpenBSD: kroute.c,v 1.3 2007/12/28 15:33:37 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -448,7 +448,7 @@ kif_update(u_short if_index, int flags, struct if_data *ifd,
{
struct kif_node *kif;
struct ether_addr *ea;
- struct ifreq ifr;
+ struct ifreq ifr;
if ((kif = kif_find(if_index)) == NULL)
if ((kif = kif_insert(if_index)) == NULL)
@@ -637,7 +637,8 @@ if_newaddr(u_short if_index, struct sockaddr_in *ifa, struct sockaddr_in *mask,
if (ifa == NULL || ifa->sin_family != AF_INET)
return;
if ((kif = kif_find(if_index)) == NULL) {
- log_warnx("if_newaddr: corresponding if %i not found", if_index);
+ log_warnx("if_newaddr: corresponding if %i not found",
+ if_index);
return;
}
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y
index 3213e6612cf..fd0f235fed3 100644
--- a/usr.sbin/snmpd/parse.y
+++ b/usr.sbin/snmpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.4 2007/12/28 15:32:02 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.5 2007/12/28 15:33:37 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -155,7 +155,7 @@ varset : STRING '=' STRING {
;
main : LISTEN ON STRING {
- struct addresslist al;
+ struct addresslist al;
struct address *h;
TAILQ_INIT(&al);