summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-11-21 10:51:16 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-11-21 10:51:33 +0100
commit1bec950fed100d95d1c2b8e9787c89ff667af598 (patch)
treefed6add632b91e33cbed478dd4e6709513a45605 /sys-apps/netplug/files
parentgnome-base/gdm: install pam_gdm.so in correct location, bug #599714 (diff)
downloadgentoo-1bec950fed100d95d1c2b8e9787c89ff667af598.tar.gz
gentoo-1bec950fed100d95d1c2b8e9787c89ff667af598.tar.bz2
gentoo-1bec950fed100d95d1c2b8e9787c89ff667af598.zip
sys-apps/netplug: Fixed DOWNANDOUT crash (bug #599400).
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-apps/netplug/files')
-rw-r--r--sys-apps/netplug/files/netplug-1.2.9.2-downandout.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/netplug/files/netplug-1.2.9.2-downandout.patch b/sys-apps/netplug/files/netplug-1.2.9.2-downandout.patch
new file mode 100644
index 000000000000..be164e58a440
--- /dev/null
+++ b/sys-apps/netplug/files/netplug-1.2.9.2-downandout.patch
@@ -0,0 +1,13 @@
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652418
+https://bugs.gentoo.org/599400
+
+--- a/if_info.c
++++ b/if_info.c
+@@ -186,6 +186,7 @@
+ if (newflags & IFF_UP) {
+ switch(info->state) {
+ case ST_DOWN:
++ case ST_DOWNANDOUT:
+ info->state = ST_INACTIVE;
+ break;
+