diff options
Diffstat (limited to 'src/dhcp.c')
-rw-r--r-- | src/dhcp.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -64,6 +64,17 @@ void connman_dhcp_unref(struct connman_dhcp *dhcp) } /** + * connman_dhcp_get_index: + * @dhcp: DHCP structure + * + * Get network index of DHCP + */ +int connman_dhcp_get_index(struct connman_dhcp *dhcp) +{ + return dhcp->index; +} + +/** * connman_dhcp_get_interface: * @dhcp: DHCP structure * |