https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217939
Andrey V. Elsukov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Andrey V. Elsukov <[email protected]> --- I think the following patch should fix this: Index: syslogd.c =================================================================== --- syslogd.c (revision 315478) +++ syslogd.c (working copy) @@ -477,7 +477,8 @@ main(int argc, char *argv[]) break; case 'b': bflag = 1; - if ((p = strchr(optarg, ':')) == NULL) { + if ((p = strchr(optarg, ':')) == NULL || + strchr(p + 1, ':') != NULL) { /* A hostname or filename only. */ addpeer(&(struct peer){ .pe_name = optarg, -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
