mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-11 08:08:54 +00:00
Don't change hardcoded IP
Signed-off-by: Naman Sood <naman@tailscale.com>
This commit is contained in:
parent
d83d9100db
commit
e13e490bd8
@ -62,7 +62,7 @@ func Impl(logf logger.Logf, tundev *tstun.TUN, e wgengine.Engine, mc *magicsock.
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ipstack.AddAddress(nicID, ipv4.ProtocolNumber, tcpip.Address(net.ParseIP("100.110.9.22").To4()))
|
ipstack.AddAddress(nicID, ipv4.ProtocolNumber, tcpip.Address(net.ParseIP("100.96.188.101").To4()))
|
||||||
|
|
||||||
// Add 0.0.0.0/0 default route.
|
// Add 0.0.0.0/0 default route.
|
||||||
subnet, _ := tcpip.NewSubnet(tcpip.Address(strings.Repeat("\x00", 4)), tcpip.AddressMask(strings.Repeat("\x00", 4)))
|
subnet, _ := tcpip.NewSubnet(tcpip.Address(strings.Repeat("\x00", 4)), tcpip.AddressMask(strings.Repeat("\x00", 4)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user