diff --git a/src/cfgparse.c b/src/cfgparse.c index 5451359c4..23a369561 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -129,7 +129,7 @@ int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, ss2 = str2sa_range(str, NULL, &port, &end, &fd, err, curproxy == global.stats_fe ? NULL : global.unix_bind.prefix, NULL, PA_O_RESOLVE | PA_O_PORT_OK | PA_O_PORT_MAND | PA_O_PORT_RANGE | - PA_O_SOCKET_FD | PA_O_DGRAM | PA_O_STREAM | PA_O_XPRT); + PA_O_SOCKET_FD | PA_O_STREAM | PA_O_XPRT); if (!ss2) goto fail; diff --git a/tests/ports.cfg b/tests/ports.cfg index 7210c3c85..57793487e 100644 --- a/tests/ports.cfg +++ b/tests/ports.cfg @@ -14,6 +14,7 @@ frontend f1 bind :::11003-11010 bind :::+11011 # port offset not permitted here in ':::+11011' bind :::-11012 # port offset not permitted here in ':::-11012' + bind udp@:11013 # dgram-type socket not acceptable in 'udp@:11013' frontend f2 bind :::0 # invalid port '0'