mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
Socktest: Minor change
This commit is contained in:
parent
2ce8589753
commit
6b8d11556e
@ -47,7 +47,10 @@ void
|
||||
skt_open(sock *s)
|
||||
{
|
||||
if (sk_open(s) < 0)
|
||||
SKT_ERR(s->err);
|
||||
{
|
||||
perror(s->err);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (cf_mcast)
|
||||
{
|
||||
|
@ -52,8 +52,6 @@ uint counter; /* global counter of send/recv packets */
|
||||
uint cf_value; /* a value in packet */
|
||||
uint cf_ttl;
|
||||
|
||||
#define SKT_ERR(x) do { perror(x); exit(-1); } while(0)
|
||||
|
||||
sock *skt_parse_args(int argc, char **argv, int is_send);
|
||||
void bird_init(void);
|
||||
void skt_open(sock *s);
|
||||
|
Loading…
Reference in New Issue
Block a user