Displaying 1 result from an estimated 1 matches for "getportpoop".
2006 Jan 17
0
asterisk.ctl limitations
...n 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 */
bail ("invalid port %s", argv[optind]);
} /* if port-arg */
netfd = dolisten (themaddr, curport, oura...