mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-03-11 06:53:54 +00:00
rename NLMSG_OK macro we have included to avoid name collision.
This commit is contained in:
parent
7ffc99705c
commit
1887e2e533
@ -1159,8 +1159,7 @@ static int interface_unregister(const char *name,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#undef NLSMSG_OK
|
||||
#define NLMSG_OK(nlh,len) ((int)(len) >= (int)sizeof(struct nlmsghdr) && \
|
||||
#define NLMSG_OK_OPENWRTSAFE(nlh,len) ((int)(len) >= (int)sizeof(struct nlmsghdr) && \
|
||||
(int)(nlh)->nlmsg_len >= (int)sizeof(struct nlmsghdr) && \
|
||||
(int)(nlh)->nlmsg_len <= (int)(len))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user