Commit c380cc10 authored by ffs-Monitor's avatar ffs-Monitor

considering special DNS response from Telekom Digitalisierungsbox.

parent 414ba45e
......@@ -21,7 +21,7 @@ if [ -z "$SEGINFO" ]; then
exit 1
fi
SEGINFO=${SEGINFO/Address 1: 2001:2:0:711::/}
SEGMENT=$(echo $SEGINFO | cut -d':' -f2)
SEGMENT=$(echo $SEGINFO |cut -d' ' -f1 | cut -d':' -f2)
let PORT=SEGMENT+10040
if [ -z "$PORT" ]; then
logger -t $ME "No port"
......
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