Hiroki Sato <[email protected]> writes:
> Modified: head/etc/rc.d/netoptions
[...]
>
> if checkyesno tcp_extensions; then
> + ${SYSCTL_W} net.inet.tcp.rfc1323=1 >/dev/null
> + else
> netoptions_init
> - echo -n ' rfc1323 extensions=NO'
> + echo -n ' rfc1323 extensions=${tcp_extensions}'
^^^^^^^^^^^^^^^^^
Here.
> ${SYSCTL_W} net.inet.tcp.rfc1323=0 >/dev/null
> fi
>
> - if ! checkyesno tcp_keepalive; then
> + if checkyesno tcp_keepalive; then
> + ${SYSCTL_W} net.inet.tcp.always_keepalive=1 >/dev/null
> + else
> netoptions_init
> - echo -n ' TCP keepalive=NO'
> + echo -n ' TCP keepalive=${tcp_keepalive}'
^^^^^^^^^^^^^^^^
Here.
> ${SYSCTL_W} net.inet.tcp.always_keepalive=0 >/dev/null
> fi
>
> if checkyesno tcp_drop_synfin; then
> netoptions_init
> - echo -n ' drop SYN+FIN packets=YES'
> + echo -n ' drop SYN+FIN packets=${tcp_drop_synfin}'
^^^^^^^^^^^^^^^^^^
And here. These are *single* quotes, no parameter expansion can occur.
I keep getting following in `dmesg -a'
Additional TCP/IP options:
drop SYN+FIN packets=${tcp_drop_synfin}
.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"