summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-07-24 15:16:20 +0000
committerderaadt <deraadt@openbsd.org>2012-07-24 15:16:20 +0000
commit5d82a6b09d1bb67f3c85e8129cab53d020428a97 (patch)
tree83bd89122046ff093de7ca30ec562bce90de0ffe
parentworkaround: link this static for a release, because the upgrade script (diff)
downloadwireguard-openbsd-5d82a6b09d1bb67f3c85e8129cab53d020428a97.tar.xz
wireguard-openbsd-5d82a6b09d1bb67f3c85e8129cab53d020428a97.zip
decls before code
-rw-r--r--sys/net/if_spppsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index c1f683cd62f..8e505949ad5 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.97 2012/07/23 10:54:54 sthen Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.98 2012/07/24 15:16:20 deraadt Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -4778,11 +4778,11 @@ sppp_clear_ip_addrs(void *arg1, void *arg2)
struct ifaddr *ifa;
struct sockaddr_in *si;
struct sockaddr_in *dest;
+ u_int32_t remote;
int s;
s = splsoftnet();
- u_int32_t remote;
if (sp->ipcp.flags & IPCP_HISADDR_DYN)
remote = sp->ipcp.saved_hisaddr;
else