Unverified Commit 241c70b6 authored by kharade's avatar kharade

Ignore SD value for standard SST

parent 7456794f
...@@ -100,6 +100,13 @@ ip link set n6 up ...@@ -100,6 +100,13 @@ ip link set n6 up
ip route add $NETWORK_UE_IP via $SGI_IPV4 dev n6 ip route add $NETWORK_UE_IP via $SGI_IPV4 dev n6
# If standard SST is provided then ignore SD values
if [[ "$SST" -lt 128 ]]; then
sed '/sd/d' ${CONFIG_DIR}/upf_profile.json > ${CONFIG_DIR}/tmp_profile.json
mv ${CONFIG_DIR}/tmp_profile.json ${CONFIG_DIR}/upf_profile.json
fi
echo "Done setting the configuration" echo "Done setting the configuration"
exec "$@" exec "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment