=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/sndiod.c,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/usr.bin/sndiod/sndiod.c 2015/11/23 12:33:20 1.15 --- src/usr.bin/sndiod/sndiod.c 2015/11/24 12:14:08 1.16 *************** *** 1,4 **** ! /* $OpenBSD: sndiod.c,v 1.15 2015/11/23 12:33:20 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: sndiod.c,v 1.16 2015/11/24 12:14:08 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 377,384 **** background = 0; break; case 'U': - if (listen_list) - errx(1, "-U must come before -L"); unit = strtonum(optarg, 0, 15, &str); if (str) errx(1, "%s: unit number is %s", optarg, str); --- 377,382 ---- *************** *** 470,476 **** listen_new_un(path); if (tcpaddr) { #ifdef USE_TCP ! listen_new_tcp(optarg, AUCAT_PORT + unit); #else errx(1, "-L option disabled at compilation time"); #endif --- 468,474 ---- listen_new_un(path); if (tcpaddr) { #ifdef USE_TCP ! listen_new_tcp(tcpaddr, AUCAT_PORT + unit); #else errx(1, "-L option disabled at compilation time"); #endif