summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/net/ip6opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/net/ip6opt.c')
-rw-r--r--freebsd/lib/libc/net/ip6opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/lib/libc/net/ip6opt.c b/freebsd/lib/libc/net/ip6opt.c
index b3fe4a08..fcd76a3e 100644
--- a/freebsd/lib/libc/net/ip6opt.c
+++ b/freebsd/lib/libc/net/ip6opt.c
@@ -461,7 +461,7 @@ inet6_opt_append(void *extbuf, socklen_t extlen, int offset, u_int8_t type,
int
inet6_opt_finish(void *extbuf, socklen_t extlen, int offset)
{
- int updatelen = offset > 0 ? (1 + ((offset - 1) | 7)) : 0;;
+ int updatelen = offset > 0 ? (1 + ((offset - 1) | 7)) : 0;
if (extbuf) {
u_int8_t *padp;