diff --git a/FRequest/OpenOS/usr/bin/fget.lua b/FRequest/OpenOS/usr/bin/fget.lua index 6179552..fbad176 100644 --- a/FRequest/OpenOS/usr/bin/fget.lua +++ b/FRequest/OpenOS/usr/bin/fget.lua @@ -5,7 +5,7 @@ local tArgs = {...} local address, path = tArgs[1], tArgs[2] local port = 70 -local host,nport = host:match("(.+):(%d+)") +local host,nport = address:match("(.+):(%d+)") port = nport or port host = host or address