summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-07-24 15:16:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-07-24 15:16:21 +0000
commit403fad9af6c582ec603c0b3c35a00491184a2060 (patch)
tree98752d3518d9821df59dca4b5924e45b9043db50 /sys/net
parent6e57ae9752993b322ab3cd831a53a79e773060bd (diff)
decls before code
Diffstat (limited to 'sys/net')
-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