addr: add address flag IFA_F_MANAGETEMPADDR
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
42c4133600
commit
dcc0baac02
2 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ enum {
|
|||
#define IFA_F_DEPRECATED 0x20
|
||||
#define IFA_F_TENTATIVE 0x40
|
||||
#define IFA_F_PERMANENT 0x80
|
||||
#define IFA_F_MANAGETEMPADDR 0x100
|
||||
|
||||
struct ifa_cacheinfo {
|
||||
__u32 ifa_prefered;
|
||||
|
|
|
@ -1056,6 +1056,7 @@ static const struct trans_tbl addr_flags[] = {
|
|||
__ADD(IFA_F_DEPRECATED, deprecated)
|
||||
__ADD(IFA_F_TENTATIVE, tentative)
|
||||
__ADD(IFA_F_PERMANENT, permanent)
|
||||
__ADD(IFA_F_MANAGETEMPADDR, mngtmpaddr)
|
||||
};
|
||||
|
||||
char *rtnl_addr_flags2str(int flags, char *buf, size_t size)
|
||||
|
|
Loading…
Add table
Reference in a new issue