diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2016-09-10 07:43:04 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2016-09-10 07:43:04 +0000 |
commit | 62edfa177d7c744a4eb3d22ffd144d7a97f69e29 (patch) | |
tree | 7a57e78b4d70b95d7a7ca94a5d72adbb5e6d16e2 /sbin | |
parent | 77de00517c6850047520942fb22ccd2ed3ded3e9 (diff) |
move IPv6 specific structs up; no obj change
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ping6/ping6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 36cd6fa3f56..4778e277a70 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.161 2016/09/10 07:42:20 florian Exp $ */ +/* $OpenBSD: ping6.c,v 1.162 2016/09/10 07:43:03 florian Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -229,14 +229,14 @@ main(int argc, char *argv[]) struct addrinfo hints, *res; struct itimerval itimer; struct sockaddr_in6 from, from6; + struct cmsghdr *scmsg = NULL; + struct in6_pktinfo *pktinfo = NULL; socklen_t maxsizelen; int64_t preload; int ch, i, optval = 1, packlen, maxsize, error; u_char *datap, *packet; char *e, *target, hbuf[NI_MAXHOST], *source = NULL; const char *errstr; - struct cmsghdr *scmsg = NULL; - struct in6_pktinfo *pktinfo = NULL; double intval; int mflag = 0, loop = 1; uid_t uid; |