Skip to content

Commit

Permalink
Revert "gluon-core: configure unreachable routes"
Browse files Browse the repository at this point in the history
This reverts commit 1722bc5.
  • Loading branch information
maurerle committed Nov 27, 2024
1 parent 2bcde80 commit 8821666
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions package/gluon-core/luasrc/lib/gluon/upgrade/110-network
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,6 @@ uci:section('network', 'interface', 'wan', {
auto = true,
})

uci:section('network', 'rule', 'wan_lookup', {
mark = '0x01/0x01',
lookup = 1,
})

uci:section('network', 'route', 'wan_unreachable', {
type = 'unreachable',
interface = 'loopback',
target = '0.0.0.0',
netmask = '0',
table = 1,
metric = 65535,
})


uci:section('network', 'interface', 'wan6', {
proto = wan6.proto or 'dhcpv6',
ip6addr = wan6.ip6addr,
Expand All @@ -89,24 +74,6 @@ uci:section('network', 'route6', 'wan6_unreachable', {
metric = 65535,
})


uci:section('network', 'route', 'client_unreachable', {
type = 'unreachable',
interface = 'loopback',
target = '0.0.0.0',
netmask = '0',
metric = 65535,
})

uci:section('network', 'route6', 'client6_unreachable', {
type = 'unreachable',
interface = 'loopback',
target = '::/0',
gateway = '::',
metric = 65535,
})


uci:save('network')


Expand Down

0 comments on commit 8821666

Please sign in to comment.