Skip to content
Snippets Groups Projects
Commit b936695c authored by Philippe's avatar Philippe
Browse files

update port number (mtu adaptation)

parent 07a06615
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment