netplug-1.2.9.2-downandout.patch 340 B

1234567891011121314
  1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652418
  2. https://bugs.gentoo.org/599400
  3. --- a/if_info.c
  4. +++ b/if_info.c
  5. @@ -186,6 +186,7 @@
  6. if (newflags & IFF_UP) {
  7. switch(info->state) {
  8. case ST_DOWN:
  9. + case ST_DOWNANDOUT:
  10. info->state = ST_INACTIVE;
  11. break;