Home | History | Annotate | Download | only in src

Lines Matching refs:srv

165     { "srv-host", 1, 0, 'W' },
281 { 'W', ARG_DUP, "name,target,...", gettext_noop("Specify a SRV record."), NULL },
2445 case 'W': /* --srv-host */
2454 problem = _("bad SRV record");
2461 ) problem = _("bad SRV target");
2954 /* add domain for any srv record without one. */
2955 struct mx_srv_record *srv;
2957 for (srv = daemon->mxnames; srv; srv = srv->next)
2958 if (srv->issrv &&
2959 strchr(srv->name, '.') &&
2960 strchr(srv->name, '.') == strrchr(srv->name, '.'))
2962 strcpy(buff, srv->name);
2965 free(srv->name);
2966 srv->name = opt_string_alloc(buff);