diff options
author | phk <phk@FreeBSD.org> | 1999-06-06 09:17:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-06-06 09:17:51 +0000 |
commit | 0098c16802b914fdce6d769f5d8614afd9752297 (patch) | |
tree | ebd6e66f41d901f7a6af83a9996a8770ce7f22ca /sbin | |
parent | 562e26b9ea92407f6681ed11abbf63c64cbf5a84 (diff) | |
download | FreeBSD-src-0098c16802b914fdce6d769f5d8614afd9752297.zip FreeBSD-src-0098c16802b914fdce6d769f5d8614afd9752297.tar.gz |
Introduce IFF_SMART bit.
This means that the driver will add/delete routes when it knows it is
up/down, rather than have the generic code belive it is up if configured.
This is probably most useful for serial lines, although many PHY chips
could probably tell us if we're connected to the cable/hub as well.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 74dfa01..57ffbdc 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; #endif static const char rcsid[] = - "$Id: ifconfig.c,v 1.38 1998/08/07 06:36:53 phk Exp $"; + "$Id: ifconfig.c,v 1.39 1999/03/15 01:22:01 wpaul Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -701,7 +701,7 @@ setifmtu(val, dummy, s, afp) #define IFFBITS \ -"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6b6\7RUNNING" \ +"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6SMART\7RUNNING" \ "\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2" \ "\20MULTICAST" |