diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch')
-rw-r--r-- | net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch b/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch deleted file mode 100644 index 73e4a87903e8..000000000000 --- a/net-misc/miniupnpd/files/miniupnpd-2.2.3-testgetifaddr.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/miniupnpd/testgetifaddr.sh b/miniupnpd/testgetifaddr.sh -index 7ad56d9..2a26a24 100755 ---- a/testgetifaddr.sh -+++ b/testgetifaddr.sh -@@ -12,7 +12,8 @@ case $OS in - *) - IP="`which ip`" || exit 1 - EXTIF="`LC_ALL=C $IP -4 route | grep 'default' | sed -e 's/.*dev[[:space:]]*//' -e 's/[[:space:]].*//'`" || exit 1 -- EXTIP="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/inet/ { print $2 }' | cut -d "/" -f 1`" -+ EXTIF="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/[0-9]+:/ { print $2; exit 0 }' | cut -d ":" -f 1`" -+ EXTIP="`LC_ALL=C $IP -4 addr show $EXTIF | awk '/inet/ { print $2; exit 0 }' | cut -d "/" -f 1`" - ;; - esac - |