handle_xml => '0,Using XML,yesno',
lastmsg => '0,Last Route Msg,atime',
lastid => '0,Last Route MsgID',
handle_xml => '0,Using XML,yesno',
lastmsg => '0,Last Route Msg,atime',
lastid => '0,Last Route MsgID',
- do_pc92 => '0,Uses pc92,yesno',
+ do_pc9x => '0,Uses pc9x,yesno',
via_pc92 => '0,Came in via pc92,yesno',
obscount => '0,Obscount',
);
via_pc92 => '0,Came in via pc92,yesno',
obscount => '0,Obscount',
);
-# called as $parent->add(call, dxchan, version, flags)
+# called as $parent->add(call, dxchan, version, flags)
# is this the last connection, I have no parents anymore?
unless (@{$self->{parent}}) {
foreach my $rcall (@{$self->{nodes}}) {
# is this the last connection, I have no parents anymore?
unless (@{$self->{parent}}) {
foreach my $rcall (@{$self->{nodes}}) {
- foreach my $parent (@{$self->{parent}}) {
- push @out, $parent->del($self);
+ foreach my $call (@{$self->{parent}}) {
+ my $parent = Route::Node::get($call);
+ push @out, $parent->del($self) if $parent;
# a config type update for a node and returns
# the differences as lists of things that have gone away
# a config type update for a node and returns
# the differences as lists of things that have gone away
my $self = $pkg->SUPER::new($call);
$self->{parent} = ref $pkg ? [ $pkg->{call} ] : [ ];
$self->{version} = shift || 5401;
my $self = $pkg->SUPER::new($call);
$self->{parent} = ref $pkg ? [ $pkg->{call} ] : [ ];
$self->{version} = shift || 5401;
confess "Non-existant field '$AUTOLOAD'" unless $valid{$name} || $Route::valid{$name};
# this clever line of code creates a subroutine which takes over from autoload
confess "Non-existant field '$AUTOLOAD'" unless $valid{$name} || $Route::valid{$name};
# this clever line of code creates a subroutine which takes over from autoload