libnl-tiny: export unl_genl_multicast_id()

SVN-Revision: 29743
master
Felix Fietkau 13 years ago
parent 9eb73ee6b7
commit 419718e99f
  1. 1
      package/libnl-tiny/src/include/unl.h
  2. 2
      package/libnl-tiny/src/unl.c

@ -25,6 +25,7 @@ int unl_genl_request(struct unl *unl, struct nl_msg *msg, unl_cb handler, void *
int unl_genl_request_single(struct unl *unl, struct nl_msg *msg, struct nl_msg **dest);
void unl_genl_loop(struct unl *unl, unl_cb handler, void *arg);
int unl_genl_multicast_id(struct unl *unl, const char *name);
int unl_genl_subscribe(struct unl *unl, const char *name);
int unl_genl_unsubscribe(struct unl *unl, const char *name);

@ -173,7 +173,7 @@ void unl_genl_loop(struct unl *unl, unl_cb handler, void *arg)
nl_cb_put(cb);
}
static int unl_genl_multicast_id(struct unl *unl, const char *name)
int unl_genl_multicast_id(struct unl *unl, const char *name)
{
struct nlattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1];
struct nlattr *groups, *group;

Loading…
Cancel
Save