Commit 6f0a0dc
committed
mwan3: prefer default route source address
Prefer the source address from the interface default route before falling
back to the interface address from netifd.
This fixes diagnostics and tracking in setups where the route-selected
source address differs from the interface address.
Fixes: #29055
Signed-off-by: Dharmik Parmar <dharmikparmar2004@yahoo.com>1 parent f5160c8 commit 6f0a0dc
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
101 | | - | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
0 commit comments