diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-11-14 13:51:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-14 22:59:16 +0100 |
commit | 929c9cf310565a97ec9bc685abbfeaed5fceb557 (patch) | |
tree | 147f8d155639aa11d87c0cfa7b6f2f5cd65e1be3 /Kbuild | |
parent | isdnloop: use strlcpy() instead of strcpy() (diff) | |
download | linux-929c9cf310565a97ec9bc685abbfeaed5fceb557.tar.xz linux-929c9cf310565a97ec9bc685abbfeaed5fceb557.zip |
sit: fix prefix length of ll and v4mapped addresses
When the local IPv4 endpoint is wilcard (0.0.0.0), the prefix length is
correctly set, ie 64 if the address is a link local one or 96 if the address is
a v4 mapped one.
But when the local endpoint is specified, the prefix length is set to 128 for
both kind of address. This patch fix this wrong prefix length.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions