summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgnel Vishal <agnelvishal@gmail.com>2018-12-06 16:07:38 +0530
committerGitHub <noreply@github.com>2018-12-06 16:07:38 +0530
commit15f76367f4a4b04e3805fc18c2eb8329783032f4 (patch)
treea9810743e9d97ff7a0d5b0bacba43e2c0f79a744
parent73a6e45524571536c05e3ea1985b88c0e56732eb (diff)
Update up.sh
IP addresses are not selected if "&ip=" is present
-rwxr-xr-xbin/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 86b6b4b70..dad37c472 100755
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
cd "`dirname $0`"
-./apicall.sh "/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
+./apicall.sh "/Network.xml?page=1" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
#port=$(grep ^port= "$YACY_DATA_PATH/SETTINGS/yacy.conf" |cut -d= -f2)
#./up1.sh localhost:$port