[riot-notifications] [RIOT] net/ng_ndp: added missing break in _set_state() (#3239)

BytesGalore notifications at github.com
Tue Jun 23 08:09:04 CEST 2015


The fall through is correct here, since we want to wait a certain amount of time if the neighbour is reachable.
+1 for adding a comment on this, and we could the remove the `vtimer_remove()` in the first case [1] since it is removed again after falling into the next case.


[1] https://github.com/haukepetersen/RIOT/blob/ng_fix_ndp_setstate_break/sys/net/network_layer/ng_ndp/ng_ndp.c#L943

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3239#issuecomment-114373026
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150622/61605d04/attachment.html>


More information about the notifications mailing list