summaryrefslogtreecommitdiff
path: root/zebra/client_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-09 14:43:48 -0400
committerGitHub <noreply@github.com>2017-08-09 14:43:48 -0400
commit3cc2066899fb306dba34016c72b689af27d30de5 (patch)
treedaa03d63dcdace4ddefefa1e78943816fb3961b0 /zebra/client_main.c
parent2c3699c0eb00def0dddf033c7ecf23d0c5d479ab (diff)
parent4e1fd26a5ef5adb25d53c2acbd9dbe8d18652ef5 (diff)
Merge pull request #926 from opensourcerouting/tcp-zebra
remove `--enable-tcp-zebra`
Diffstat (limited to 'zebra/client_main.c')
-rw-r--r--zebra/client_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/zebra/client_main.c b/zebra/client_main.c
index 17130c602e..95b9d00dc0 100644
--- a/zebra/client_main.c
+++ b/zebra/client_main.c
@@ -186,11 +186,7 @@ int main(int argc, char **argv)
/* Establish connection to zebra. */
zclient = zclient_new(master);
zclient->enable = 1;
-#ifdef HAVE_TCP_ZEBRA
- zclient->sock = zclient_socket();
-#else
- zclient->sock = zclient_socket_un(ZEBRA_SERV_PATH);
-#endif /* HAVE_TCP_ZEBRA */
+ zclient_socket_connect(zclient);
/* Open simulation file. */
fp = fopen(argv[1], "r");