Commit 302011e
authored
Fix lustre IP route detection if there is no gateway (#567)
* Fix lustre IP route detection if there is no gateway
This handles the following case
```
172.26.0.251 dev ib0 src 172.26.0.196 uid 0
```
in addition to:
```
10.167.128.1 via 10.179.0.2 dev eth0 src 10.179.3.149 uid 1000
```
* Use json output of IP
* Trailing whitespace
* json output is a list1 parent b35f61c commit 302011e
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
0 commit comments