"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "go/pkg/pass1/check-supernet.go" between
Netspoc-6.032.tar.gz and Netspoc-6.033.tar.gz

About: NetSPoC is a network security policy compiler (using its own description language) to manage all the packet filter devices inside your network topology.

check-supernet.go  (Netspoc-6.032):check-supernet.go  (Netspoc-6.033)
skipping to change at line 953 skipping to change at line 953
if rule1.noCheckSupernetRules { if rule1.noCheckSupernetRules {
continue continue
} }
dstList1 := rule1.dst dstList1 := rule1.dst
for _, obj1 := range dstList1 { for _, obj1 := range dstList1 {
net1, ok := obj1.(*network) net1, ok := obj1.(*network)
if !ok || !net1.hasOtherSubnet { if !ok || !net1.hasOtherSubnet {
continue continue
} }
zone := net1.zone zone := net1.zone
if zone.noCheckSupernetRules {
continue
}
if isLeafZone[zone] { if isLeafZone[zone] {
continue continue
} }
// Find other rules with supernet as src starting in same zone. // Find other rules with supernet as src starting in same zone.
supernets := zone2supernets[zone] supernets := zone2supernets[zone]
if len(supernets) == 0 { if len(supernets) == 0 {
continue continue
} }
natMap := zone.natDomain.natMap natMap := zone.natDomain.natMap
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)