mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
Revert "static-routes: Fixes bug12763"
This reverts commit e33ee46e62.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
c522d8109d
commit
bafa45ed84
@@ -29,7 +29,7 @@ function init_table() {
|
||||
return
|
||||
fi
|
||||
|
||||
ip rule add table static >/dev/null 2>&1
|
||||
ip rule add table static
|
||||
}
|
||||
|
||||
function create_all_routes() {
|
||||
@@ -54,7 +54,7 @@ function create_all_routes() {
|
||||
continue
|
||||
fi
|
||||
|
||||
ip route add ${network} via ${gateway} table static proto static >/dev/null 2>&1
|
||||
ip route add ${network} via ${gateway} table static proto static
|
||||
done < ${file}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user