diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-03-29 16:25:14 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-03-29 22:19:18 +0200 |
commit | 479aaf6375e1823c484e2251f11eee5b911c48e7 (patch) | |
tree | cd83d063f13f10c701264ef6520e1baacec7f8f4 /target | |
parent | d9da0387f47fce77e16d7c60222e61f3aa72a94e (diff) | |
download | upstream-479aaf6375e1823c484e2251f11eee5b911c48e7.tar.gz upstream-479aaf6375e1823c484e2251f11eee5b911c48e7.tar.bz2 upstream-479aaf6375e1823c484e2251f11eee5b911c48e7.zip |
map: fix psidlen becoming negative (FS#1430)
Fix psidlen becomes negative in case embedded address bit lenght is smaller than
IPv4 suffix length.
While at it improve parameter checking making the code more logical and
easier to read.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions