CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2017/11/27 16:21:50
Modified files: sys/net : pfvar.h sbin/pfctl : parse.y Log message: The divert structure was using the port number to indicate that divert-to or divert-reply was active. If the address was also set, it meant divert-to. Divert packet used a separate structure. This is confusing and makes it hard to add new features. It is better to have a divert type that explicitly says what is configured. Convert the pfctl(8) rule parser to divert types, kernel cleanup will be the next step. OK sashan@