Main repository for pfSense
Go to file
Phil Davis 2cd249edf0 Make not LAN address etc rules work
I cannot understand how this worked anywhere in the recent past. The code fragment:
if(isset($rule[$target]['not']))
	$src = " !{$src}";$src = " !{$src}";
Appeared in multiple if/else clauses but was missing in 2 places, which I have added.
Actually, it is now duplicated in every part of the filter_generate_address if/else structure, and so it could be applied once at the end of the routine.
I have taken the minimal risk approach here, since I am not in a position to test every if/else case properly. But I can easily create a version that removes the code duplication, and someone else can test it well before committing (this is a fundamental bit of rule code that everyone uses, so I don't want to accidenatally break it worse for some poor sod.)
2013-02-04 10:00:59 +05:45
boot Add hw.usb.no_pf="1" to loader.conf on nanobsd 2013-02-01 22:58:38 +01:00
cf/conf trigger setup wizard 2009-11-16 01:44:37 -05:00
conf.default Make sure default config complies with latest version 2013-01-21 13:47:58 -02:00
etc Make not LAN address etc rules work 2013-02-04 10:00:59 +05:45
root Fixup home/end/ins/del in shell. 2013-01-15 10:13:30 -05:00
sbin Use the better -Fs modifies to pf to kill the states by interface. Also kill both sides on an interface when -k needs to be used 2013-01-31 22:04:07 +00:00
tmp Be a little smarter about the default kernel in rare cases where we cannot determine what was in use. 2013-01-03 09:29:50 -05:00
usr Merge pull request #369 from bcyrill/dyndns_rfc 2013-02-02 16:53:26 -08:00
.gitattributes Add .gitattributes file to help maintain proper newlines. 2012-12-10 11:21:56 -05:00
.gitignore ignore dreamweaver temp files 2011-04-21 14:33:45 -04:00