projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add NET::CIDR::Lite to the list of dependences
[spider.git]
/
perl
/
Route.pm
diff --git
a/perl/Route.pm
b/perl/Route.pm
index 304b9c6830b97f77bde4767cc64ad954c2a310e1..99b4b2b1e73d42fd1bc9cdfe2b4b68e43c036dc9 100644
(file)
--- a/
perl/Route.pm
+++ b/
perl/Route.pm
@@
-25,15
+25,15
@@
use strict;
use vars qw(%list %valid $filterdef $maxlevel);
%valid = (
use vars qw(%list %valid $filterdef $maxlevel);
%valid = (
- parent => '0,Parent Calls,parray',
call => "0,Callsign",
call => "0,Callsign",
- flags => "0,Flags,phex",
+ city => '0,City',
+ cq => '0,CQ Zone',
dxcc => '0,Country Code',
dxcc => '0,Country Code',
+ flags => "0,Flags,phex",
+ ip => '0,IP Address',
itu => '0,ITU Zone',
itu => '0,ITU Zone',
-
cq => '0,CQ Zone
',
+
parent => '0,Parent Calls,parray
',
state => '0,State',
state => '0,State',
- city => '0,City',
- ip => '0,IP Address',
);
$filterdef = bless ([
);
$filterdef = bless ([
@@
-423,6
+423,18
@@
sub field_prompt
return $val->{$ele} || $valid{$ele};
}
return $val->{$ele} || $valid{$ele};
}
+sub write_cache
+{
+ Route::Node::write_cache();
+ Route::User::write_cache();
+}
+
+sub read_cache
+{
+ Route::Node::read_cache();
+ Route::User::read_cache();
+}
+
#
# generic AUTOLOAD for accessors
#
#
# generic AUTOLOAD for accessors
#