mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 00:13:40 +00:00
lib: clearing zclient.c for some cases of building
lib/zclient.c: using of HAVE_TCP_ZEBRA in zclient_socket_* definitions extended by else clause.
This commit is contained in:
parent
271ee735ed
commit
d5cd9a9758
@ -179,7 +179,7 @@ zclient_socket(void)
|
||||
return sock;
|
||||
}
|
||||
|
||||
#endif /* HAVE_TCP_ZEBRA */
|
||||
#else
|
||||
|
||||
/* For sockaddr_un. */
|
||||
#include <sys/un.h>
|
||||
@ -214,6 +214,8 @@ zclient_socket_un (const char *path)
|
||||
return sock;
|
||||
}
|
||||
|
||||
#endif /* HAVE_TCP_ZEBRA */
|
||||
|
||||
/**
|
||||
* Connect to zebra daemon.
|
||||
* @param zclient a pointer to zclient structure
|
||||
|
Loading…
Reference in New Issue
Block a user