[riot-notifications] [RIOT-OS/RIOT] shell/sc_gnrc_ipv6_nib: extend for ABR (#10951)

Martine Lenders notifications at github.com
Wed Sep 11 20:59:25 CEST 2019

miri64 commented on this pull request.

> @@ -45,7 +58,59 @@ int gnrc_ipv6_nib_abr_add(const ipv6_addr_t *addr);
  * @param[in] addr  The address of an authoritative border router.
 void gnrc_ipv6_nib_abr_del(const ipv6_addr_t *addr);
+#else   /* GNRC_IPV6_NIB_CONF_6LBR || defined(DOXYGEN) */
+#define gnrc_ipv6_nib_abr_add(addr)     (-ENOTSUP)
+#define gnrc_ipv6_nib_abr_del(addr)     (void)(addr)

Ah... yeah. A non BR shouldn't be able to remove its BR. Otherwise it can lead to inconsistencies in the network ;-).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/f63e5b48/attachment.htm>

More information about the notifications mailing list