Ignore:
Timestamp:
2010-05-31T03:34:47+02:00 (6 years ago)
Author:
jow
Message:

[package] firewall: change the order of IPv4/IPv6 address detection, fixes mixed notation v6 improperly detected as v4 address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/files/lib/config.sh

    r21640 r21642  
    8888        local vers= 
    8989        case "$addr" in 
     90                *:*) vers=6; mask="${mask:-128}" ;; 
    9091                *.*) vers=4; mask="${mask:-32}" ;; 
    91                 *:*) vers=6; mask="${mask:-128}" ;; 
    9292        esac 
    9393         
Note: See TracChangeset for help on using the changeset viewer.