go-outside-helper 8ba9f1bc03
Update route.py
2024-03-14 17:51:22 +01:00

16 lines
206 B
Python

#!/usr/bin/env python
__author__ = "Mia Stein"
from scapy.all import *
print conf.route
conf.route.add(host='192.168.118.2', gw='192.168.1.114')
print conf.route
conf.route.resync()
print conf.route