Fix bug in IPv6 router from Max Neklyudov.
This commit is contained in:
parent
f20ac5ef93
commit
608f812407
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ void netdev_ipv6_router(FAR struct net_driver_s *dev,
|
|||
* of the device.
|
||||
*/
|
||||
|
||||
net_ipv6addr_copy(router, dev->d_draddr);
|
||||
net_ipv6addr_copy(router, dev->d_ipv6draddr);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue