commit | dc8a1b1bcf1a4420063c3a708580fcd3277130c5 | [log] [tgz] |
---|---|---|
author | Lung-Pin Chang <changlp@cs.nctu.edu.tw> | Wed Jul 02 10:48:05 2014 +0800 |
committer | Lung-Pin Chang <changlp@cs.nctu.edu.tw> | Sun Jul 06 21:08:47 2014 +0800 |
tree | f5cd735ba37a8ab5ccef45415251ac2e403f1f16 | |
parent | cdb755c5f16a6768c3e8b1f345fe15fc9244228d [diff] |
Set interface with longest prefix in DHCP & DHCPv6 lease - With nested prefixes reside on different interfaces of single host (e.g., in 6to4, 2002::/16 on WAN and 2002:<IPv4>:<subnet>::/64 on LAN), current matching mechanism might return the interface with shorter prefix length instead of the longer one, if it appears later in the netlink message. Signed-off-by: Lung-Pin Chang <changlp@cs.nctu.edu.tw>