Ignore:
Timestamp:
12/15/11 17:23:45 (13 years ago)
Author:
nanardon
Message:
  • support IPv6 adresses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Netzone.pm

    r861 r863  
    119119            select * from ( 
    120120            select host(network(value::inet)+ (generate_series(1, broadcast(value::inet) - network(value::inet) -1))) from netzone_attributes where 
    121             attr='net' and okey = $1 
     121            attr='net' and okey = $1 and family(value::inet) = 4 
    122122            except 
    123123            ( 
Note: See TracChangeset for help on using the changeset viewer.