OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 269... | Line 269... | |||
269 | # determine the protocol of the given logical interface |
269 | # determine the protocol of the given logical interface |
|
270 | # 1: destination variable |
270 | # 1: destination variable |
|
271 | # 2: interface |
271 | # 2: interface |
|
272 | network_get_protocol() { __network_ifstatus "$1" "$2" ".proto"; } |
272 | network_get_protocol() { __network_ifstatus "$1" "$2" ".proto"; } |
|
Line 273... | Line -... | |||
273 | |
- | ||
274 | # determine the metric of the given logical interface |
- | ||
275 | # 1: destination variable |
- | ||
276 | # 2: interface |
- | ||
277 | network_get_metric() { __network_ifstatus "$1" "$2" ".metric"; } |
- | ||
278 | |
273 | |
|
279 | # determine the layer 3 linux network device of the given logical interface |
274 | # determine the layer 3 linux network device of the given logical interface |
|
280 | # 1: destination variable |
275 | # 1: destination variable |
|
281 | # 2: interface |
276 | # 2: interface |