Skip to content

Commit 692e159

Browse files
committed
keep supernet with "no_check_supernet_rules"
1 parent 40e7855 commit 692e159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/pkg/pass1/cut-netspoc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ func (c *spoc) cutNetspoc(
738738
if up == nil {
739739
break
740740
}
741-
if origNat[up] != nil {
741+
if origNat[up] != nil || up.noCheckSupernetRules {
742742
markUnconnectedObj(up, isUsed)
743743
}
744744
}

0 commit comments

Comments
 (0)