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

using new fastd-ports 102xx for MTU 1340.

parent b936695c
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,8 @@ if [ -z "$SEGINFO" ]; then ...@@ -22,8 +22,8 @@ if [ -z "$SEGINFO" ]; then
fi fi
SEGINFO=${SEGINFO/Address 1: 2001:2:0:711::/} SEGINFO=${SEGINFO/Address 1: 2001:2:0:711::/}
SEGMENT=$(echo $SEGINFO |cut -d' ' -f1 | cut -d':' -f2) SEGMENT=$(echo $SEGINFO |cut -d' ' -f1 | cut -d':' -f2)
let PORT=SEGMENT+10000 let PORT=SEGMENT+10200
if [ $PORT -le 10000 ]; then if [ $PORT -le 10200 ]; then
logger -t $ME "Invalid Segment" logger -t $ME "Invalid Segment"
exit 1 exit 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment