Commit 24b6c48
authored
libtailscale: use b.netmon and sys.Bus consistently (#717)
fixes tailscale/android#17747
There was a mismatch between the netmon into which we
were injecting network change events, and the netmon that
the eventBus registered with in the userspace engine.
The switch from directly registering callbacks with netmon
to using the eventBus caused a regression where the
injected events would no longer trigger interface rebinds based
on feedback from the Android network monitoring APIs.
Signed-off-by: Jonathan Nobels <[email protected]>1 parent 6f3d188 commit 24b6c48
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
268 | | - | |
| 273 | + | |
269 | 274 | | |
270 | 275 | | |
271 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
0 commit comments