Commit 4753c8d
committed
ospfv2: use ipi_spec_dst for the outgoing source address
On send, the kernel reads the source address from the ipi_spec_dst
field of in_pktinfo, not ipi_addr (which is only meaningful on
receive). Writing it to ipi_addr made the kernel choose the source
itself, which can differ from the address Holo selected when the
interface has multiple addresses.
Signed-off-by: Renato Westphal <renatowestphal@gmail.com>1 parent 9e0f194 commit 4753c8d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
0 commit comments