diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-01-14 13:50:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-01-14 13:50:21 +0000 |
commit | 0037dbe59826be83f6bf6705e591c98706f2c4da (patch) | |
tree | 67f1e84c31742568df403abae815914c7d9e9a4e /package/libnl-tiny | |
parent | 743fd0610a3aeb3786eb0863341b635c9ef603db (diff) | |
download | master-187ad058-0037dbe59826be83f6bf6705e591c98706f2c4da.tar.gz master-187ad058-0037dbe59826be83f6bf6705e591c98706f2c4da.tar.bz2 master-187ad058-0037dbe59826be83f6bf6705e591c98706f2c4da.zip |
libnl-tiny: export unl_genl_multicast_id()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29743 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libnl-tiny')
-rw-r--r-- | package/libnl-tiny/src/include/unl.h | 1 | ||||
-rw-r--r-- | package/libnl-tiny/src/unl.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/libnl-tiny/src/include/unl.h b/package/libnl-tiny/src/include/unl.h index 57e348ae1d..4fe7dc745d 100644 --- a/package/libnl-tiny/src/include/unl.h +++ b/package/libnl-tiny/src/include/unl.h @@ -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); diff --git a/package/libnl-tiny/src/unl.c b/package/libnl-tiny/src/unl.c index 71487e0c10..b38dab8397 100644 --- a/package/libnl-tiny/src/unl.c +++ b/package/libnl-tiny/src/unl.c @@ -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; |