Displaying 1 result from an estimated 1 matches for "curport".
Did you mean:
purport
2006 Jan 17
0
asterisk.ctl limitations
...f /* TELNET */
case 'u': /* use UDP */
o_udpmode++; break;
+ case 'U': /* UNIX-domain socket */
+ unixsock_name = optarg;
case 'v': /* verbose */
o_verbose++; break;
case 'w': /* wait time */
@@ -1642,7 +1681,7 @@
curport = 0; /* rem port *can* be zero here... */
if (argv[optind]) { /* any rem-port-arg? */
curport = getportpoop (argv[optind], 0);
- if (curport == 0) /* if given, demand correctness */
+ if ((curport == 0) && (unixsock_name==NULL) )/* if given, demand correctness */...