procedure maskbits(var binip:tbinip;bits:integer);\r
function comparebinipmask(ip1,ip2:tbinip;bits:integer):boolean;\r
\r
+procedure addipsoffamily(var l:tbiniplist;const l2:tbiniplist;family:integer);\r
+\r
{deprecated}\r
function longip(s:string):longint;\r
\r
\r
procedure biniplist_addlist;\r
begin\r
- l := l + l2;\r
+ l := l + copy(l2,biniplist_prefixlen+1,maxlongint);\r
end;\r
\r
function biniplist_tostr(const l:tbiniplist):string;\r
result := true;\r
end;\r
\r
+procedure addipsoffamily(var l:tbiniplist;const l2:tbiniplist;family:integer);\r
+var\r
+ a:integer;\r
+ biniptemp:tbinip;\r
+begin\r
+ for a := biniplist_getcount(l2)-1 downto 0 do begin\r
+ biniptemp := biniplist_get(l2,a);\r
+ if (biniptemp.family = family) then biniplist_add(l,biniptemp);\r
+ end;\r
+end;\r
+\r
+\r
end.\r