[patch] /sbin/ipfw - mac/mac-type show as an options (small fix)

Andrey V. Elsukov bu7cher at yandex.ru
Mon Apr 16 18:54:13 UTC 2007


Hi, All.

As i can see in CVS log, current implementation of a MAC/mac-type options is not first.
A long time ago implementation of this options was changed, but i think not fully.
An example:

# ipfw add count icmp from any to any mac any any
03100 count icmp MAC any any any

I wrote a small fix for this:
http://butcher.heavennet.ru/patches/other/ipfw_mac_fix/ipfw2.c.diff

My tests don't show other break, what you think about this patch?

--
WBR, Andrey V. Elsukov


More information about the freebsd-ipfw mailing list