openbsd-ports/net/no-ip/patches/patch-no-ip_sh
wilfried acc9d8b5cf Import of noip_updater_v1.6
This is the No-IP.com Dynamic DNS update client.
2002-03-08 16:56:10 +00:00

13 lines
407 B
Plaintext

$OpenBSD: patch-no-ip_sh,v 1.1.1.1 2002/03/08 16:56:10 wilfried Exp $
--- no-ip.sh.orig Thu Oct 11 01:35:12 2001
+++ no-ip.sh Thu Mar 7 11:28:58 2002
@@ -89,7 +89,7 @@ done
#
if [ "$NAT" = "N" ]
then
- devs=`tail +3 /proc/net/dev | awk -F: '{print $1}' | tr -d ' '|tr '\n' ' '`
+ devs=`ifconfig -a | awk -F: '/flags=/ {print $1}' | tr '\n' ' '`
DEV=foo
while [ "$DEV" = "foo" ]
do