diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-28 18:12:21 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-03-30 14:14:22 +0200 |
commit | 73a7133b6e42edc218da5b8011c580ed48c7731a (patch) | |
tree | 71bf65b4c602e14fd8c17ff2ff94db9d394c2b19 /src/odhcpd.h | |
parent | 3b4e6d19b7ce0953efcd6d1c545b031b73e0ab6e (diff) |
properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index 1ada4aa..21dc99f 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -190,7 +190,7 @@ int odhcpd_get_interface_mtu(const char *ifname); int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]); struct interface* odhcpd_get_interface_by_index(int ifindex); struct interface* odhcpd_get_master_interface(void); -void odhcpd_urandom(void *data, size_t len); +int odhcpd_urandom(void *data, size_t len); void odhcpd_setup_route(const struct in6_addr *addr, int prefixlen, const struct interface *iface, const struct in6_addr *gw, bool add); |