summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/extras/nat_static_gen_cfg.py
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-09-09 16:45:06 +0200
committerOle Trøan <otroan@employees.org>2019-09-10 07:29:26 +0000
commit5c2f96436afd0cef13797f764474a54f464d7916 (patch)
tree90c8ba64b35902460812e7d621698bb0ef98770d /src/plugins/nat/extras/nat_static_gen_cfg.py
parent2f6e0c6002f732b7f938a0f770f19c9dec9269f1 (diff)
misc: fix shebang with missing env
This is needed for macos where /usr/bin/python[23] does not exist and /usr/bin is write protected Type: fix Change-Id: Ia1b3c732248c78482993de532fa2ea96e376d90a Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/nat/extras/nat_static_gen_cfg.py')
-rwxr-xr-xsrc/plugins/nat/extras/nat_static_gen_cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/extras/nat_static_gen_cfg.py b/src/plugins/nat/extras/nat_static_gen_cfg.py
index ff6312aecf6..a8e609cb278 100755
--- a/src/plugins/nat/extras/nat_static_gen_cfg.py
+++ b/src/plugins/nat/extras/nat_static_gen_cfg.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import ipaddress
import argparse