Scripte überarbeitet #1

Merged
Blackyfff merged 56 commits from :master into master 2021-07-27 02:05:09 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9d1f07d971 - Show all commits

View File

@ -10,6 +10,6 @@ echo "acl icvpnrange {" > "$IncludeFile"
echo " icvpnlocal;" >> "$IncludeFile"
echo "dump" | nc ::1 33123 | \
sed -e '/add route/!d;/installed yes/!d;/\(from ::\/0\|from 0\.0\.\0\.0\/0\)/d;' | \
sed -e '/add route/!d;/installed yes/!d;/\(from ::\/0\|from 0\.0\.0\.0\/0\)/d;' | \
sed -ne 's/^.*from \(\S\+\).*/\t\1;/p' >> "$IncludeFile"
echo "};" >> "$IncludeFile"