From owner-cvs-all Mon Apr 2 14:49:23 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D5EAC37B720; Mon, 2 Apr 2001 14:49:18 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f32LnIP32157; Mon, 2 Apr 2001 14:49:18 -0700 (PDT) (envelope-from brian) Message-Id: <200104022149.f32LnIP32157@freefall.freebsd.org> From: Brian Somers Date: Mon, 2 Apr 2001 14:49:18 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/04/02 14:49:18 PDT Modified files: sys/net if_tun.c Log: Return 0 and do nothing when we get a SIOCSIFFLAGS. Without this, ifpromisc() always fails (after setting the IFF_PROMISC bit in ifp->if_flags) and bpf never bothers to turn promiscuous mode off. PR: 20188 Revision Changes Path 1.90 +2 -1 src/sys/net/if_tun.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message