Skip to content
Snippets Groups Projects
Commit a03d6388 authored by Joe Hershberger's avatar Joe Hershberger
Browse files

net: Make sure the ethaddr is updated in net_init()


NetConsole may call NetSendUDPPacket before NetLoop is called.  This
will cause the source MAC address (NetOurEther) to be wrong.  Instead
of only changing it in NetLoop, move it to NetLoopInit so that it is
also updated when net_init() is called (especially by nc_start()).

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reported-by: default avatarMichael Walle <michael@walle.cc>
Acked-by: default avatarMichael Walle <michael@walle.cc>
parent 8b10652d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment