diff options
author | peter <peter@FreeBSD.org> | 2007-07-05 06:04:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2007-07-05 06:04:46 +0000 |
commit | e680ae87c6ff6393354c6dc54531de80e28ad41b (patch) | |
tree | d34bcd068ab32503e8a47ef25f510bf6d9b96c6b /sys/netinet/tcp_subr.c | |
parent | c4233cd9788ded9f8a5d05de7e76af6e4e556cd3 (diff) | |
download | FreeBSD-src-e680ae87c6ff6393354c6dc54531de80e28ad41b.zip FreeBSD-src-e680ae87c6ff6393354c6dc54531de80e28ad41b.tar.gz |
Fix a second warning, introduced by my last "fix". I committed the wrong
diff from the wrong machine.
Pointy hat to: peter
Approved by: re (rwatson - blanket, several days ago)
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 99cdf00..8806de0 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -2072,9 +2072,9 @@ tcp_log_addrs(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr, size_t size; struct ip *ip; #ifdef INET6 - struct ip6_hdr *ip6; + const struct ip6_hdr *ip6; - ip6 = (struct ip6_hdr *)ip6hdr; + ip6 = (const struct ip6_hdr *)ip6hdr; #endif /* INET6 */ ip = (struct ip *)ip4hdr; |