Skip to content

Commit

Permalink
Removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Mar 5, 2024
1 parent 68a3432 commit 843f9e1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions go/pkg/pass1/nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,6 @@ func (c *spoc) findNatDomains() []*natDomain {
// routers of given NAT-domain.
var setNatDomain func(z *zone, d *natDomain, inIntf *routerIntf)
setNatDomain = func(z *zone, d *natDomain, inIntf *routerIntf) {
// Zone was processed by a former call from setNatDomain
// or loop found inside a NAT domain.
if z.natDomain != nil {
return
}
//debug("%s: %s", d.name, z)
z.natDomain = d
d.zones = append(d.zones, z)
Expand Down

0 comments on commit 843f9e1

Please sign in to comment.