projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log agw port on connection
[spider.git]
/
perl
/
RouteDB.pm
diff --git
a/perl/RouteDB.pm
b/perl/RouteDB.pm
index c9c01ff4544565ea80651a35f78fb0dcd4526622..42cf693f76f65a6d06772b3a68b36aaa131e6979 100644
(file)
--- a/
perl/RouteDB.pm
+++ b/
perl/RouteDB.pm
@@
-106,6
+106,14
@@
sub delete
delete $ref->{item}->{$interface} if $ref;
}
delete $ref->{item}->{$interface} if $ref;
}
+sub delete_interface
+{
+ my $interface = shift;
+ foreach my $ref (values %list) {
+ delete $ref->{item}->{$interface};
+ }
+}
+
#
# generic AUTOLOAD for accessors
#
#
# generic AUTOLOAD for accessors
#