Commit ed89902c authored by Christophe Massiot's avatar Christophe Massiot

* aggregartp.c: Actually implement option -x, that is already documented.

parent 3ce328b9
......@@ -243,7 +243,7 @@ int main( int i_argc, char **pp_argv )
bool b_udp = false;
struct pollfd pfd[2];
while ( (c = getopt( i_argc, pp_argv, "i:t:wo:X:Um:R:h" )) != -1 )
while ( (c = getopt( i_argc, pp_argv, "i:t:wo:x:X:Um:R:h" )) != -1 )
{
switch ( c )
{
......@@ -269,6 +269,10 @@ int main( int i_argc, char **pp_argv )
break;
}
case 'x':
i_retx_buffer = strtoll( optarg, NULL, 0 ) * 27000;
break;
case 'X':
i_retx_fd = OpenSocket( optarg, 0, 0, 0, NULL, &b_retx_tcp );
if ( i_retx_fd == -1 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment