Blame 0050-Add-missing-echo-to-output-the-result.patch
|
Harald Hoyer |
368a0c |
From c1c96f2c4780bdf8ddc363ded40439cba31afa56 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
368a0c |
From: Stefan Reimer <it@startux.de>
|
|
Harald Hoyer |
368a0c |
Date: Sat, 25 Jul 2015 01:17:04 +0000
|
|
Harald Hoyer |
368a0c |
Subject: [PATCH] Add missing echo to output the result.
|
|
Harald Hoyer |
368a0c |
|
|
Harald Hoyer |
368a0c |
Only place this function is currently called seems from line 28 in modules.d/95nfs/nfs-lib.sh. Bug fix.
|
|
Harald Hoyer |
368a0c |
---
|
|
Harald Hoyer |
368a0c |
modules.d/40network/net-lib.sh | 1 +
|
|
Harald Hoyer |
368a0c |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
368a0c |
|
|
Harald Hoyer |
368a0c |
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
|
|
Harald Hoyer |
368a0c |
index 6c739e8..68bc095 100755
|
|
Harald Hoyer |
368a0c |
--- a/modules.d/40network/net-lib.sh
|
|
Harald Hoyer |
368a0c |
+++ b/modules.d/40network/net-lib.sh
|
|
Harald Hoyer |
368a0c |
@@ -5,6 +5,7 @@ get_ip() {
|
|
Harald Hoyer |
368a0c |
ip=$(ip -o -f inet addr show $iface)
|
|
Harald Hoyer |
368a0c |
ip=${ip%%/*}
|
|
Harald Hoyer |
368a0c |
ip=${ip##* }
|
|
Harald Hoyer |
368a0c |
+ echo $ip
|
|
Harald Hoyer |
368a0c |
}
|
|
Harald Hoyer |
368a0c |
|
|
Harald Hoyer |
368a0c |
iface_for_remote_addr() {
|