Skip to content

Commit

Permalink
Merge pull request #90 from Mythologyli/master
Browse files Browse the repository at this point in the history
Add subnet in route
  • Loading branch information
determ1ne authored Oct 16, 2023
2 parents 0e5b349 + 51240ec commit 9b7f791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/route.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ if [ "${devs_count}" -eq "0" ]; then
ip_route_del 210.32.160.0/21
ip_route_del 210.32.168.0/22
ip_route_del 210.32.172.0/23
ip_route_del 210.32.174.0/24
ip_route_del 210.32.176.0/20
ip_route_del 222.205.0.0/17
ip_route_del 10.5.1.0/24
Expand Down Expand Up @@ -87,6 +88,7 @@ case "$gateway" in
ip route replace 210.32.160.0/21 via $gateway
ip route replace 210.32.168.0/22 via $gateway
ip route replace 210.32.172.0/23 via $gateway
ip route replace 210.32.174.0/24 via $gateway
ip route replace 210.32.176.0/20 via $gateway
ip route replace 222.205.0.0/17 via $gateway
;;
Expand Down

0 comments on commit 9b7f791

Please sign in to comment.