Skip to content
Permalink
Browse files

Merge pull request #2920 from donaldsharp/bsd_warnings

Bsd warnings
  • Loading branch information...
eqvinox committed Aug 26, 2018
2 parents 955cb66 + f7dae31 commit b5d79dbe71efb5da59ccb39fae6da36291c3b7a0
Showing with 7 additions and 1 deletion.
  1. +1 −0 isisd/isis_bpf.c
  2. +1 −1 lib/ferr.c
  3. +1 −0 zebra/if_ioctl.c
  4. +4 −0 zebra/zebra_vxlan.c
@@ -43,6 +43,7 @@
#include "isisd/isis_constants.h"
#include "isisd/isis_circuit.h"
#include "isisd/isis_network.h"
#include "isisd/isis_pdu.h"

#include "privs.h"

@@ -107,7 +107,7 @@ struct log_ref *log_ref_get(uint32_t code)
void log_ref_display(struct vty *vty, uint32_t code, bool json)
{
struct log_ref *ref;
struct json_object *top, *obj;
struct json_object *top = NULL, *obj = NULL;
struct list *errlist;
struct listnode *ln;

@@ -37,6 +37,7 @@

#include "zebra/interface.h"
#include "zebra/rib.h"
#include "zebra/rt.h"

#include <ifaddrs.h>

@@ -1558,7 +1558,9 @@ static int zvni_neigh_install(zebra_vni_t *zvni, zebra_neigh_t *n)
struct zebra_if *zif;
struct zebra_l2info_vxlan *vxl;
struct interface *vlan_if;
#ifdef GNU_LINUX
uint8_t flags;
#endif
int ret = 0;

if (!(n->flags & ZEBRA_NEIGH_REMOTE))
@@ -3369,7 +3371,9 @@ static int zl3vni_nh_del(zebra_l3vni_t *zl3vni, zebra_neigh_t *n)
*/
static int zl3vni_nh_install(zebra_l3vni_t *zl3vni, zebra_neigh_t *n)
{
#ifdef GNU_LINUX
uint8_t flags;
#endif
int ret = 0;

if (!is_l3vni_oper_up(zl3vni))

0 comments on commit b5d79db

Please sign in to comment.
You can’t perform that action at this time.