Changeset 45689


Ignore:
Timestamp:
2015-05-16T12:12:15+02:00 (3 years ago)
Author:
cyrus
Message:

map: set ealen to psidlen for lw4over6

Signed-off-by: Steven Barth <steven@…>

Location:
trunk/package/network/ipv6/map
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/ipv6/map/Makefile

    r45590 r45689  
    1010PKG_NAME:=map 
    1111PKG_VERSION:=3 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313PKG_LICENSE:=GPL-2.0 
    1414 
  • trunk/package/network/ipv6/map/src/mapcalc.c

    r43946 r45689  
    227227                        offset = (lw4o6) ? 0 : (legacy) ? 4 : 6; 
    228228 
     229                if (lw4o6 && ealen < 0 && psidlen >= 0) 
     230                        ealen = psidlen; 
     231 
    229232                // Find PD 
    230233                struct blob_attr *c, *cur; 
Note: See TracChangeset for help on using the changeset viewer.