cvs commit: src/sbin/ipfw ipfw2.c

Maxim Konovalov maxim at FreeBSD.org
Mon Apr 30 17:39:30 UTC 2007


maxim       2007-04-30 17:39:30 UTC

  FreeBSD src repository

  Modified files:
    sbin/ipfw            ipfw2.c 
  Log:
  o Make ipfw(8) show rules with mac/mac-type options correctly.
  
  Before:
  
  $ ipfw -n add 100 count icmp from any to any mac-type 0x01
  00100 count icmp 0x0001
  $ ipfw -n add 100 count icmp from any to any mac any any
  00100 count icmp MAC any any any
  
  After:
  
  $ ipfw -n add 100 count icmp from any to any mac-type 0x01
  00100 count icmp from any to any mac-type 0x0001
  $ ipfw -n add 100 count icmp from any to any mac any any
  00100 count icmp from any to any MAC any any
  
  PR:             bin/112244
  Submitted by:   Andrey V. Elsukov
  MFC after:      1 month
  
  Revision  Changes    Path
  1.103     +17 -36    src/sbin/ipfw/ipfw2.c


More information about the cvs-src mailing list