version 1.15, 2015/11/23 12:33:20 |
version 1.16, 2015/11/24 12:14:08 |
|
|
background = 0; |
background = 0; |
break; |
break; |
case 'U': |
case 'U': |
if (listen_list) |
|
errx(1, "-U must come before -L"); |
|
unit = strtonum(optarg, 0, 15, &str); |
unit = strtonum(optarg, 0, 15, &str); |
if (str) |
if (str) |
errx(1, "%s: unit number is %s", optarg, str); |
errx(1, "%s: unit number is %s", optarg, str); |
|
|
listen_new_un(path); |
listen_new_un(path); |
if (tcpaddr) { |
if (tcpaddr) { |
#ifdef USE_TCP |
#ifdef USE_TCP |
listen_new_tcp(optarg, AUCAT_PORT + unit); |
listen_new_tcp(tcpaddr, AUCAT_PORT + unit); |
#else |
#else |
errx(1, "-L option disabled at compilation time"); |
errx(1, "-L option disabled at compilation time"); |
#endif |
#endif |