ndp: fixup relay
[project/odhcpd.git] / src / odhcpd.h
index dcd2d14..729b629 100644 (file)
@@ -192,7 +192,8 @@ struct interface* odhcpd_get_interface_by_index(int ifindex);
 struct interface* odhcpd_get_master_interface(void);
 int odhcpd_urandom(void *data, size_t len);
 void odhcpd_setup_route(const struct in6_addr *addr, int prefixlen,
 struct interface* odhcpd_get_master_interface(void);
 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);
+               const struct interface *iface, const struct in6_addr *gw,
+               int metric, bool add);
 
 void odhcpd_run(void);
 time_t odhcpd_time(void);
 
 void odhcpd_run(void);
 time_t odhcpd_time(void);