From bc80c7b29a100116cd780f9624089e1a8e7aba95 Mon Sep 17 00:00:00 2001 From: kb1lqc Date: Thu, 8 Mar 2018 23:49:41 -0800 Subject: [PATCH] Added ip address `-i' and `--addr` option per #29 --- faradayio_cli/faradayio_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faradayio_cli/faradayio_cli.py b/faradayio_cli/faradayio_cli.py index fbdfb3a..aa7b7ec 100644 --- a/faradayio_cli/faradayio_cli.py +++ b/faradayio_cli/faradayio_cli.py @@ -35,6 +35,8 @@ def setupArgparse(): help="Physical serial port of radio") parser.add_argument("-m", "--mtu", default="1500", help="Set Maximum Transmission Unit (MTU)") + parser.add_argument("-i", "--addr", default="10.0.0.1", + help="Set IP Address of TUN adapter (Farday Radio)") # Parse and return arguments return parser.parse_args()