Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2009-03-23
2009-03-23 13:45:49 by Martin Stjernholm <mast@lysator.liu.se>
654f4372e6f0709c4df2b1efa9e390b5626f4198 (
8
lines) (+
5
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Corrected some types.
Rev: server/base_server/roxen.pike:1.1027
6:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others. // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
1026
2009/03/23
12
:
51
:
13
jonasw
Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
1027
2009/03/23
13
:
45
:
49
mast
Exp $";
//! @appears roxen //!
2467:
mapping(string:mapping(string:mapping(int:Protocol))) open_ports = ([ ]); // url:"port" ==> Protocol.
-
mapping(string:mapping(string:Configuration|Protocol|string)) urls = ([]);
+
mapping(string:mapping(string:Configuration|Protocol|string
|array(Protocol
))
)
+
urls = ([]);
array sorted_urls = ({}); array(string) find_ips_for( string what )
2685:
return 0; }
-
mapping m;
+
mapping
(string:mapping(int:Protocol))
m;
if( !( m = open_ports[ protocol ] ) ) // always add 'ANY' (0) and 'IPv6_ANY' (::) here, as empty mappings, // for speed reasons.