summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c7e67e1)
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
LOG(0, 0, 0, "route6set() error in ioctl: %s\n",
strerror(errno));
LOG(0, 0, 0, "route6set() error in ioctl: %s\n",
strerror(errno));
- // FIXME: need to add BGP routing (RFC2858)
+#ifdef BGP
+ if (add)
+ bgp_add_route6(ip, prefixlen);
+ else
+ bgp_del_route6(ip, prefixlen);
+#endif /* BGP */