diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-03-13 06:16:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-03-13 06:16:59 +0000 |
commit | 48af8aa9c04725bffe61e97108311f8fdb8caca0 (patch) | |
tree | 6bb720189daaa9fc15610785f3b125eab5cd5a50 /sys/net/if_spppsubr.c | |
parent | 6a1193a64c350d44ed36b22470a2517b09ab74ba (diff) | |
download | FreeBSD-src-48af8aa9c04725bffe61e97108311f8fdb8caca0.zip FreeBSD-src-48af8aa9c04725bffe61e97108311f8fdb8caca0.tar.gz |
Constify interactive_ports, as its value is static, and therefore doesn't
require synchronization.
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 0853e55..84d8843 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -281,7 +281,7 @@ static struct callout_handle keepalive_ch; * * XXX is this really still necessary? - joerg - */ -static u_short interactive_ports[8] = { +static const u_short interactive_ports[8] = { 0, 513, 0, 0, 0, 21, 0, 23, }; |