diff options
Diffstat (limited to 'server/InterfaceController.cpp')
| -rw-r--r-- | server/InterfaceController.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/InterfaceController.cpp b/server/InterfaceController.cpp index a67b4e1e..755068d8 100644 --- a/server/InterfaceController.cpp +++ b/server/InterfaceController.cpp @@ -367,11 +367,13 @@ int InterfaceController::setMtu(const char *interface, const char *mtu) return writeValueToPath(sys_net_path, interface, "mtu", mtu); } +// Returns zero on success and negative errno on failure. int InterfaceController::addAddress(const char *interface, const char *addrString, int prefixLength) { return ifc_add_address(interface, addrString, prefixLength); } +// Returns zero on success and negative errno on failure. int InterfaceController::delAddress(const char *interface, const char *addrString, int prefixLength) { return ifc_del_address(interface, addrString, prefixLength); |
