Commit b936695c authored by Philippe's avatar Philippe

update port number (mtu adaptation)

parent 07a06615
......@@ -22,8 +22,8 @@ if [ -z "$SEGINFO" ]; then
fi
SEGINFO=${SEGINFO/Address 1: 2001:2:0:711::/}
SEGMENT=$(echo $SEGINFO |cut -d' ' -f1 | cut -d':' -f2)
let PORT=SEGMENT+10040
if [ $PORT -le 10040 ]; then
let PORT=SEGMENT+10000
if [ $PORT -le 10000 ]; then
logger -t $ME "Invalid Segment"
exit 1
fi
......
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