summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-13 06:16:59 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-13 06:16:59 +0000
commit48af8aa9c04725bffe61e97108311f8fdb8caca0 (patch)
tree6bb720189daaa9fc15610785f3b125eab5cd5a50 /sys/net
parent6a1193a64c350d44ed36b22470a2517b09ab74ba (diff)
downloadFreeBSD-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')
-rw-r--r--sys/net/if_spppsubr.c2
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,
};
OpenPOWER on IntegriCloud