Subject: CVS commit: syssrc
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 10/02/2000 02:16:08
Module Name:	syssrc
Committed By:	thorpej
Date:		Sun Oct  1 23:16:08 UTC 2000

Modified Files:
	syssrc/sys/net: if.c

Log Message:
Change the behavior of ifpromisc() slightly.  If interface is not IFF_UP,
attempting to enable promisc would result in ENETDOWN.  Change this to
allow the interface to always be placed in promiscuous mode, regardless
of IFF_UP.  When the interface does come up, the IFF_PROMISC flag will
be consulted, and this matches the behavior that disabling promiscuous
mode has.

To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 syssrc/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.