We'll want that when we report errors about client-provided services.
Renamed to unknown-port.
There is no peer called
.IR name .
.SP
There is no peer called
.IR name .
.SP
-.BI "unknown-service " service
+.BI "unknown-port " port
-The service name
-.I service
couldn't be found in
.BR /etc/services .
.TP
couldn't be found in
.BR /etc/services .
.TP
if (*p) {
struct servent *s = getservbyname(av[i + 1], "udp");
if (!s) {
if (*p) {
struct servent *s = getservbyname(av[i + 1], "udp");
if (!s) {
- a_fail(a, "unknown-service", "%s", av[i + 1], A_END);
+ a_fail(a, "unknown-port", "%s", av[i + 1], A_END);
goto fail;
}
pt = ntohs(s->s_port);
goto fail;
}
pt = ntohs(s->s_port);