diff options
author | Marco Platania <platania@research.att.com> | 2017-04-24 09:26:03 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-04-24 09:26:03 -0400 |
commit | 7270048fdaa4409349b4ee0c4775dfecd544de1f (patch) | |
tree | c6d6b755aff32270e0c99cd47fadd988e95b4a55 /vnfs/vFW/scripts/v_sink_init.sh | |
parent | 366b7e2ea0e15889e3de08916c4406d98d6b509d (diff) |
fix issue with artifacts version in vFW
Change-Id: I8bec217e5813924de4ce17dc19dcb5c704917471
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vFW/scripts/v_sink_init.sh')
-rw-r--r-- | vnfs/vFW/scripts/v_sink_init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnfs/vFW/scripts/v_sink_init.sh b/vnfs/vFW/scripts/v_sink_init.sh index 16a67508..77f4296c 100644 --- a/vnfs/vFW/scripts/v_sink_init.sh +++ b/vnfs/vFW/scripts/v_sink_init.sh @@ -2,6 +2,6 @@ # Set the IP address of the protected network interface of the vFirewall as a default gateway to the unprotected network PROTECTED_NET_GW=$(cat /opt/config/protected_net_gw.txt) -UNPROTECTED_NET=$(cat /opt/config/unprotected_net.txt) +UNPROTECTED_NET=$(cat /opt/config/unprotected_net.txt | cut -d'/' -f1) route add -net $UNPROTECTED_NET netmask 255.255.255.0 gw $PROTECTED_NET_GW |