still a silly ninny

This commit is contained in:
brent s. 2020-05-10 05:20:15 -04:00
parent 68092a514a
commit 2ac6085846
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -73,8 +73,8 @@ class TunnelBroker(object):
self.ipr.link('add',
ifname = 'he-{0}'.format(self.tun_id),
kind = 'sit',
sit_local = self.my_ip,
sit_remote = self.server,
sit_local = str(self.my_ip),
sit_remote = str(self.server),
sit_ttl = 255)
self.iface_idx = self.ipr.link_lookup(ifname = 'he-{0}'.format(self.tun_id))[0]
self.ipr.link('set', index = self.iface_idx, state = 'up', mtu = 1480)