DragonOS icon indicating copy to clipboard operation
DragonOS copied to clipboard

fix: 修复网卡顺序的bug

Open smallcjy opened this issue 1 year ago • 4 comments

  • 使用初始化宏初始化lo
  • 修复网卡顺序变换导致http_server无法正常工作的问题
  • 将lo的iface_config的mac地址调整为[0x00, 0x00, 0x00, 0x00, 0x00, 0x00]

smallcjy avatar Oct 18 '24 05:10 smallcjy

@smallcjy: no appropriate reviewer found, use r? to override

dragonosbot avatar Oct 18 '24 05:10 dragonosbot

:warning: Warning :warning:

  • Pull requests are usually filed against the master branch for this repo, but this one is against feat-network-rebuild. Please double check that you specified the right target!

dragonosbot avatar Oct 18 '24 05:10 dragonosbot

#993

smallcjy avatar Oct 18 '24 05:10 smallcjy

这样子取1是错误的,因为使用了那个统一初始化宏之后,是不能够保证在同一初始化级别的那些元素的初始化顺序的。 应该用别的方式去做

@dragonosbot author

fslongjin avatar Oct 18 '24 06:10 fslongjin