still a silly ninny
This commit is contained in:
parent
68092a514a
commit
2ac6085846
@ -73,8 +73,8 @@ class TunnelBroker(object):
|
|||||||
self.ipr.link('add',
|
self.ipr.link('add',
|
||||||
ifname = 'he-{0}'.format(self.tun_id),
|
ifname = 'he-{0}'.format(self.tun_id),
|
||||||
kind = 'sit',
|
kind = 'sit',
|
||||||
sit_local = self.my_ip,
|
sit_local = str(self.my_ip),
|
||||||
sit_remote = self.server,
|
sit_remote = str(self.server),
|
||||||
sit_ttl = 255)
|
sit_ttl = 255)
|
||||||
self.iface_idx = self.ipr.link_lookup(ifname = 'he-{0}'.format(self.tun_id))[0]
|
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)
|
self.ipr.link('set', index = self.iface_idx, state = 'up', mtu = 1480)
|
||||||
|
Loading…
Reference in New Issue
Block a user