1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Add parameters "compress", "normal" and "noicmp" for the slip usage.

These names are used in the slip.hosts file as examples, but ifconfig
have formerly only accepted link0, -link0 and link1 for this.
This commit is contained in:
Andreas Schulz 1994-11-20 19:45:58 +00:00
parent e6c9671c34
commit 794cdf17ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4702

View File

@ -125,6 +125,9 @@ struct cmd {
{ "-link1", -IFF_LINK1, setifflags },
{ "link2", IFF_LINK2, setifflags },
{ "-link2", -IFF_LINK2, setifflags },
{ "normal", -IFF_LINK0, setifflags },
{ "compress", IFF_LINK0, setifflags },
{ "noicmp", IFF_LINK1, setifflags },
{ "mtu", NEXTARG, setifmtu },
{ 0, 0, setifaddr },
{ 0, 0, setifdstaddr },