Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions babeld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=babeld
PKG_VERSION:=1.13.1
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.irif.fr/~jch/software/files/
Expand Down Expand Up @@ -45,8 +45,7 @@ endef

MAKE_FLAGS+= \
CFLAGS="$(TARGET_CFLAGS)" \
LDLIBS="" \
LDLIBS+="-lubus -lubox"
LDLIBS="-lubus -lubox"

define Package/babeld/install
$(INSTALL_DIR) $(1)/usr/sbin
Expand Down
2 changes: 1 addition & 1 deletion babeld/src/ubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int babeld_ubus_add_filter(struct ubus_context *ctx_local,
struct blob_buf b = {0};
struct filter *filter = NULL;
char *ifname;
int metric, type;
int metric = 0, type;

blobmsg_parse(filter_policy, __FILTER_MAX, tb, blob_data(msg), blob_len(msg));

Expand Down