diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index 53f2c369108..1e9ad5cc29b 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd December 30, 2025 +.Dd April 20, 2026 .Dt PFCTL 8 .Os .Sh NAME @@ -458,7 +458,7 @@ and flags to load multiple rule types without (re)loading all rules. .It Fl r Perform reverse DNS lookups on states and tables when displaying them. -.Fl N +.Fl S and .Fl r are mutually exclusive. diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 48e6a053a84..e84e7f9272d 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -3809,7 +3809,7 @@ main(int argc, char *argv[]) } if ((opts & PF_OPT_NODNS) && (opts & PF_OPT_USEDNS)) - errx(1, "-N and -r are mutually exclusive"); + errx(1, "-S and -r are mutually exclusive"); if ((tblcmdopt == NULL) ^ (tableopt == NULL) && (tblcmdopt == NULL || *tblcmdopt != 'l'))