summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xuristart2
1 files changed, 1 insertions, 1 deletions
diff --git a/uristart b/uristart
index 26261ff..4e97633 100755
--- a/uristart
+++ b/uristart
@@ -26,7 +26,7 @@ if printf "%s\n" "$uri" | urimatch nP >/dev/null;then
proto=tcp
fi
uri="$(cat <(printf "%s\n" "$uri" | uricut) \
- <(getsrv $(printf "%s\n" "$uri" | uriprintf '%s '"$proto"' %d') 2>&- | tr ':' ' ' | sed 's/ /_port: /' | sed 's/^/domain: /' | tr _ '\n') \
+ <(getsrv $(printf "%s\n" "$uri" | uriprintf '%s '"$proto"' %d' | cut -d+ -f2-) 2>&- | tr ':' ' ' | sed 's/ /_port: /' | sed 's/^/domain: /' | tr _ '\n') \
| urijoin)"
printf "srv (%s) modified uri: %s\n" "$proto" "$uri" >&2
fi