mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 23:29:36 +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;
|
return sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_TCP_ZEBRA */
|
#else
|
||||||
|
|
||||||
/* For sockaddr_un. */
|
/* For sockaddr_un. */
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
@ -214,6 +214,8 @@ zclient_socket_un (const char *path)
|
|||||||
return sock;
|
return sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HAVE_TCP_ZEBRA */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to zebra daemon.
|
* Connect to zebra daemon.
|
||||||
* @param zclient a pointer to zclient structure
|
* @param zclient a pointer to zclient structure
|
||||||
|
Loading…
Reference in New Issue
Block a user