Merge lp:~kvalo/connman/ptp-default-gateway into lp:~indicator-network-developers/connman/trunk
Proposed by
Kalle Valo
Status: | Merged |
---|---|
Merged at revision: | 2272 |
Proposed branch: | lp:~kvalo/connman/ptp-default-gateway |
Merge into: | lp:~indicator-network-developers/connman/trunk |
Diff against target: |
150 lines (+72/-9) 4 files modified
include/inet.h (+1/-0) src/connection.c (+14/-7) src/inet.c (+45/-0) src/rtnl.c (+12/-2) |
To merge this branch: | bzr merge lp:~kvalo/connman/ptp-default-gateway |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Barth (community) | Approve | ||
Review via email: mp+26694@code.launchpad.net |
Description of the change
Fix for default interface problem.
To post a comment you must log in.
Comments and needs info: inet_clear_ gateway_ interface looks good to me
- the del_routes changes seem correct to me
- connman_
- rntl: sounds ok, but i'm not sure how safe it is to skip those host-specific routes
My only worry is about swapping a NULL for a "0.0.0.0" string. You've done the changes locally, but are there other parts of the code (or of plugins) where gateway != NULL (because it's now "0.0.0.0") would be mis-interpreted? Have you grepped for that in the rest of the code?