tstest/natlab: change firewall type
parent
e966f024b0
commit
9c4be13139
|
@ -93,7 +93,7 @@ type SNAT44 struct {
|
||||||
// packets in their "LAN form", i.e. before translation in the
|
// packets in their "LAN form", i.e. before translation in the
|
||||||
// outbound direction and after translation in the inbound
|
// outbound direction and after translation in the inbound
|
||||||
// direction.
|
// direction.
|
||||||
Firewall PacketHandler
|
Firewall *Firewall
|
||||||
// TimeNow is a function that returns the current time. If
|
// TimeNow is a function that returns the current time. If
|
||||||
// nil, time.Now is used.
|
// nil, time.Now is used.
|
||||||
TimeNow func() time.Time
|
TimeNow func() time.Time
|
||||||
|
|
Loading…
Reference in New Issue