X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fodhcpd.h;h=21dc99fb4301fd26064f15f01e0c22f9b01d8ba4;hp=1ada4aaefebae72aa42e478da5afec6456a4fa87;hb=9bdbc5a4be1ab75145431bc728159a55c723e2ca;hpb=a517d7bf98b1a30106e980a3952f106908739048 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);