diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-12-20 11:23:05 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-30 10:33:18 +0200 |
| commit | aea6c49e01afccb68a6559832dd74924e13b8e61 (patch) | |
| tree | 1a36c71a49c3f5e119d31fa73cdf825ec324a0e7 /lib/zclient.c | |
| parent | 7f48cfa5e4d93bb8899e0eb815074741df3c8177 (diff) | |
nhrpd: cleaning netlink gre information
flush netlink related dependencies with gre information.
Add some linux headers required to compile with it.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index e2f99aebf3..3ea1789441 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -4262,8 +4262,6 @@ int zclient_send_zebra_gre_request(struct zclient *client, struct interface *ifp) { struct stream *s; - ifindex_t idx_local; - int ret; if (!client || client->sock < 0) { zlog_err("%s : zclient not ready", __func__); @@ -4278,7 +4276,4 @@ int zclient_send_zebra_gre_request(struct zclient *client, stream_putw_at(s, 0, stream_get_endp(s)); zclient_send_message(client); return 0; -stream_failure: - zlog_err("%s(): error reading response ..", __func__); - return 0; } |
