Commit 0bd6f3b
net: if: Fix source interface select for IPv4 address
Do the selection same way as in IPv6 so that if user supplies
unspecified destination address, the default interface is selected
the same way.
Signed-off-by: Jukka Rissanen <[email protected]>1 parent 51763d8 commit 0bd6f3b
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3538 | 3538 | | |
3539 | 3539 | | |
3540 | 3540 | | |
| 3541 | + | |
3541 | 3542 | | |
3542 | | - | |
3543 | | - | |
3544 | | - | |
3545 | | - | |
3546 | | - | |
3547 | | - | |
3548 | | - | |
3549 | | - | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
3550 | 3546 | | |
3551 | 3547 | | |
3552 | 3548 | | |
3553 | 3549 | | |
3554 | 3550 | | |
3555 | 3551 | | |
3556 | | - | |
3557 | 3552 | | |
3558 | 3553 | | |
3559 | 3554 | | |
| |||
0 commit comments