0110-netplug-handle-st-downandout.patch 656 B

123456789101112131415161718
  1. diff --git a/package/netplug/0004-handle-st-downandout-proper.patch b/package/netplug/0004-handle-st-downandout-proper.patch
  2. new file mode 100644
  3. index 0000000000..420fc15433
  4. --- /dev/null
  5. +++ b/package/netplug/0004-handle-st-downandout-proper.patch
  6. @@ -0,0 +1,12 @@
  7. +diff --git a/if_info.c b/if_info.c
  8. +index ea6c333..ca5e4d0 100644
  9. +--- a/if_info.c
  10. ++++ b/if_info.c
  11. +@@ -186,6 +186,7 @@ ifsm_flagchange(struct if_info *info, unsigned int newflags)
  12. + if (newflags & IFF_UP) {
  13. + switch(info->state) {
  14. + case ST_DOWN:
  15. ++ case ST_DOWNANDOUT:
  16. + info->state = ST_INACTIVE;
  17. + break;
  18. +