diff options
author | dhartmei <dhartmei@openbsd.org> | 2003-12-18 16:07:38 +0000 |
---|---|---|
committer | dhartmei <dhartmei@openbsd.org> | 2003-12-18 16:07:38 +0000 |
commit | 14a8476630b2d8499472596cc933603513bed72c (patch) | |
tree | 4e52f19e75466d466a4d68f73d4f4c3e7368a87d /sys/net/pf_osfp.c | |
parent | document `b0' and `b1' attributes; (diff) | |
download | wireguard-openbsd-14a8476630b2d8499472596cc933603513bed72c.tar.xz wireguard-openbsd-14a8476630b2d8499472596cc933603513bed72c.zip |
resolve compiler warnings, from Pyun YongHyeon, ok cedric@, mcbride@
Diffstat (limited to 'sys/net/pf_osfp.c')
-rw-r--r-- | sys/net/pf_osfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c index c01d6de6407..68d937643d1 100644 --- a/sys/net/pf_osfp.c +++ b/sys/net/pf_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_osfp.c,v 1.3 2003/08/27 18:23:36 frantzen Exp $ */ +/* $OpenBSD: pf_osfp.c,v 1.4 2003/12/18 16:07:38 dhartmei Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org> @@ -106,7 +106,7 @@ pf_osfp_fingerprint_hdr(const struct ip *ip, const struct tcphdr *tcp) { struct pf_os_fingerprint fp, *fpresult; int cnt, optlen = 0; - u_int8_t *optp; + const u_int8_t *optp; if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN || (ip->ip_off & htons(IP_OFFMASK))) |