From e83283fc3eee2a098bc30d2c2f7abe3901d11692 Mon Sep 17 00:00:00 2001 From: dlg Date: Sat, 20 Feb 2021 01:21:04 +0000 Subject: [PATCH] document the monitor flag. reminded by benno@ --- sbin/ifconfig/ifconfig.8 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 7a2965496d9..29f5c71e5e5 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.361 2021/02/01 16:39:50 sthen Exp $ +.\" $OpenBSD: ifconfig.8,v 1.362 2021/02/20 01:21:04 dlg Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -31,7 +31,7 @@ .\" .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 .\" -.Dd $Mdocdate: February 1 2021 $ +.Dd $Mdocdate: February 20 2021 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -414,6 +414,12 @@ modes. .It Cm -mode Select the mode automatically. This is the default for IEEE 802.11 wireless interfaces. +.It Cm monitor +Enable monitor mode on the interface, preventing the processing of +incoming packets by the network stack. +.It Cm -monitor +Disable monitor mode on the interface, allowing the processing of +incoming packets by the network stack. .It Cm mpls Enable Multiprotocol Label Switching (MPLS) on the interface, allowing it to send and receive MPLS traffic. -- 2.20.1