diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 21:08:06 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 21:08:06 (GMT) |
commit | 0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (patch) | |
tree | 1caa26c26c02713db8bab0eb13f5f19533dc2189 /include/netlink/route/addr.h | |
parent | b4fbe1d34d6f54045b5c6236d86aacd4340ec83d (diff) | |
download | libnl-0cf780859cbce363a6e2cd4b8d19c5498a3530f5.zip libnl-0cf780859cbce363a6e2cd4b8d19c5498a3530f5.tar.gz libnl-0cf780859cbce363a6e2cd4b8d19c5498a3530f5.tar.bz2 |
Check length of provided address label
Diffstat (limited to 'include/netlink/route/addr.h')
-rw-r--r-- | include/netlink/route/addr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netlink/route/addr.h b/include/netlink/route/addr.h index 9004ca0..a239072 100644 --- a/include/netlink/route/addr.h +++ b/include/netlink/route/addr.h @@ -42,7 +42,7 @@ extern int rtnl_addr_delete(struct nl_handle *, extern char * rtnl_addr_flags2str(int, char *, size_t); extern int rtnl_addr_str2flags(const char *); -extern void rtnl_addr_set_label(struct rtnl_addr *, const char *); +extern int rtnl_addr_set_label(struct rtnl_addr *, const char *); extern char * rtnl_addr_get_label(struct rtnl_addr *); extern void rtnl_addr_set_ifindex(struct rtnl_addr *, int); |