From e6428abc0b4c2cccea7df9390eccac794ac23992 Mon Sep 17 00:00:00 2001 From: Eric Miller <> Date: Wed, 15 Nov 2006 19:48:20 +0000 Subject: [PATCH] Cached globals in set operations are bad :-( --- Info/CiscoVTP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Info/CiscoVTP.pm b/Info/CiscoVTP.pm index 2ad7c78c..08bb4d94 100644 --- a/Info/CiscoVTP.pm +++ b/Info/CiscoVTP.pm @@ -259,7 +259,7 @@ sub set_add_i_vlan_tagged { print "Adding VLAN: $vlan_id to ifIndex: $ifindex\n" if $vtp->debug(); - my $trunk_serial = $vtp->vtp_trunk_set_serial(); + my $trunk_serial = $vtp->load_vtp_trunk_set_serial(); my $trunk_members = $vtp->vtp_trunk_vlans($ifindex); unless (defined $trunk_members) { @@ -296,7 +296,7 @@ sub set_remove_i_vlan_tagged { print "Removing VLAN: $vlan_id from ifIndex: $ifindex\n" if $vtp->debug(); - my $trunk_serial = $vtp->vtp_trunk_set_serial(); + my $trunk_serial = $vtp->load_vtp_trunk_set_serial(); my $trunk_members = $vtp->vtp_trunk_vlans($ifindex); unless (defined $trunk_members) {