12345678910111213141516171819202122232425262728293031 |
- From a81bee0fa00b112a392ba90866e4ab2e3052c12c Mon Sep 17 00:00:00 2001
- From: Reinhard Russinger <reinhard@russinger.at>
- Date: Tue, 20 Apr 2021 05:55:52 +0000
- Subject: [PATCH] netplug handle downandout proper
- ---
- package/netplug/0004-handle-st-downandout-proper.patch | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
- create mode 100644 package/netplug/0004-handle-st-downandout-proper.patch
- diff --git a/package/netplug/0004-handle-st-downandout-proper.patch b/package/netplug/0004-handle-st-downandout-proper.patch
- new file mode 100644
- index 0000000..420fc15
- --- /dev/null
- +++ b/package/netplug/0004-handle-st-downandout-proper.patch
- @@ -0,0 +1,12 @@
- +diff --git a/if_info.c b/if_info.c
- +index ea6c333..ca5e4d0 100644
- +--- a/if_info.c
- ++++ b/if_info.c
- +@@ -186,6 +186,7 @@ ifsm_flagchange(struct if_info *info, unsigned int newflags)
- + if (newflags & IFF_UP) {
- + switch(info->state) {
- + case ST_DOWN:
- ++ case ST_DOWNANDOUT:
- + info->state = ST_INACTIVE;
- + break;
- +
- --
- 2.7.4
|