diff options
author | Kalle Valo <kalle.valo@canonical.com> | 2010-06-15 01:17:36 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-06-16 00:11:07 +0200 |
commit | 11281de04f7707ebcaf4050ae6ad5d48907b956a (patch) | |
tree | e51a31af617de0640059931c85b8602fd939811f /include/inet.h | |
parent | 460513c7edcbd14e830cb9f0dd9da3a7ee79f3db (diff) | |
download | connman-11281de04f7707ebcaf4050ae6ad5d48907b956a.tar.gz connman-11281de04f7707ebcaf4050ae6ad5d48907b956a.tar.bz2 connman-11281de04f7707ebcaf4050ae6ad5d48907b956a.zip |
Support for ppp default route setting
When gateway is NULL, we need to properly set our connection and element
string to 0.0.0.0 so that the interface is the default route.
Diffstat (limited to 'include/inet.h')
-rw-r--r-- | include/inet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inet.h b/include/inet.h index 1e95ac6e..b5bf8a5f 100644 --- a/include/inet.h +++ b/include/inet.h @@ -50,6 +50,7 @@ int connman_inet_del_host_route(int index, const char *host); int connman_inet_set_gateway_address(int index, const char *gateway); int connman_inet_clear_gateway_address(int index, const char *gateway); int connman_inet_set_gateway_interface(int index); +int connman_inet_clear_gateway_interface(int index); #ifdef __cplusplus } |