summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-14 15:11:32 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-14 15:11:32 +0000
commitcb86cf1d0a8b0ff425f19dd2f57b623b9b52934b (patch)
treea9e2d50d2934ca8d21e8a3b8a9cb529578f28cd2 /sys/net/if_spppsubr.c
parent39a138bc07c10a0f4c5b2355ab9bb42d26668572 (diff)
Avoid some false positives with cppcheck. No binary change.
OK jsg@
Diffstat (limited to 'sys/net/if_spppsubr.c')
-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 c71eaf81fdd..bc9e30fbd41 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.162 2017/01/24 10:08:30 krw Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.163 2017/04/14 15:11:31 bluhm Exp $ */
/*
* Synchronous PPP link level subroutines.
*
@@ -3100,7 +3100,7 @@ sppp_ipv6cp_scr(struct sppp *sp)
if (sp->ipv6cp.opts & (1 << IPV6CP_OPT_COMPRESSION)) {
opt[i++] = IPV6CP_OPT_COMPRESSION;
opt[i++] = 4;
-p opt[i++] = 0; /* TBD */
+ opt[i++] = 0; /* TBD */
opt[i++] = 0; /* TBD */
/* variable length data may follow */
}