contiki-os/contiki — pull request #914 by laurentderu (2014-12-16 08:39:01+00:00)
Title: Send no-path DAO only when the dag has a preferred parent

In the current code, the preferred parent is updated before the no path DAO is sent, meaning that the no-path DAO is sent to the new parent (which ignore it) resulting of route duplication in the DODAG