Skip to content

Commit 4c99e52

Browse files
committed
Make RTPC_FD control sockets only available for librtpproxy.
1 parent c471516 commit 4c99e52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rtpp_controlfd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,11 @@ rtpp_ctrl_sock_parse(const char *optarg)
352352
rcsp->type= RTPC_STDIO;
353353
rcsp->exit_on_close = 1;
354354
optarg += 7;
355+
#if defined(LIBRTPPROXY)
355356
} else if (strncmp("fd:", optarg, 3) == 0) {
356357
rcsp->type= RTPC_FD;
357358
optarg += 3;
359+
#endif
358360
} else if (strncmp("tcp:", optarg, 4) == 0) {
359361
rcsp->type= RTPC_TCP4;
360362
optarg += 4;

0 commit comments

Comments
 (0)