projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94bfecc
)
netifd: add metric argument for proto_add_ipv4_route
author
Steven Barth
<steven@midlink.org>
Tue, 31 Mar 2015 11:32:31 +0000
(13:32 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 31 Mar 2015 11:32:31 +0000
(13:32 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
scripts/netifd-proto.sh
patch
|
blob
|
history
diff --git
a/scripts/netifd-proto.sh
b/scripts/netifd-proto.sh
index 999bd6829dc3a952966dddfaeba252440a1965f7..ce60cd0cdb9a190f0cc7648ccc3f56fd3a218aa2 100644
(file)
--- a/
scripts/netifd-proto.sh
+++ b/
scripts/netifd-proto.sh
@@
-121,8
+121,9
@@
proto_add_ipv4_route() {
local mask="$2"
local gw="$3"
local source="$4"
+ local metric="$5"
- append PROTO_ROUTE "$target/$mask/$gw////$source"
+ append PROTO_ROUTE "$target/$mask/$gw/
$metric
///$source"
}
proto_add_ipv6_route() {