Fix bug in IPv6 router from Max Neklyudov.
This commit is contained in:
parent
f20ac5ef93
commit
608f812407
|
@ -271,7 +271,7 @@ void netdev_ipv6_router(FAR struct net_driver_s *dev,
|
||||||
* of the device.
|
* of the device.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
net_ipv6addr_copy(router, dev->d_draddr);
|
net_ipv6addr_copy(router, dev->d_ipv6draddr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue