HomeFreeBSD

pfctl: improve error reporting for routehost

Description

pfctl: improve error reporting for routehost

If an invalid (i.e. overly long) interface name is specified error out
immediately, rather than in expand_rule() so we point at the incorrect
line.

PR: 260958
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D34008

Details

Provenance
kpAuthored on Jan 5 2022, 8:31 PM
Differential Revision
D34008: pfctl: improve error reporting for routehost
Parents
rG6871de9363e5: netisr: serialize/restore m_pkthdr.rcvif when queueing mbufs
Branches
Unknown
Tags
Unknown