summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 57ebfeb..c1c8530 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4089,6 +4089,8 @@ static int parse_ffconfig(const char *filename)
if (val < 1 || val > 65536) {
ERROR("Invalid port: %s\n", arg);
}
+ if (val < 1024)
+ WARNING("Trying to use IETF assigned system port: %d\n", val);
my_http_addr.sin_port = htons(val);
} else if (!av_strcasecmp(cmd, "HTTPBindAddress") || !av_strcasecmp(cmd, "BindAddress")) {
if (!av_strcasecmp(cmd, "BindAddress"))
OpenPOWER on IntegriCloud