0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Socktest: Opt list: allow parameter to -B option (bind)

This commit is contained in:
Pavel Tvrdik 2016-04-05 09:10:28 +02:00
parent 6b8d11556e
commit c46329e701

View File

@ -68,7 +68,7 @@ sock *
skt_parse_args(int argc, char *argv[], int is_send)
{
int is_recv = !is_send;
const char *opt_list = is_send ? "buBmi:l:p:v:t:c:" : "buBm:i:l:p:v:t:c:";
const char *opt_list = is_send ? "bumi:l:p:v:t:c:B:" : "bum:i:l:p:v:t:c:B:";
int c;
/* Set defaults */