|
@@ -45,7 +45,6 @@ get_dynamic_ou
|
|
|
get_first_line
|
|
get_first_line
|
|
|
get_ip_subnet
|
|
get_ip_subnet
|
|
|
get_new_user_id
|
|
get_new_user_id
|
|
|
-get_notify_subnet
|
|
|
|
|
GetNowTime
|
|
GetNowTime
|
|
|
get_office_subnet
|
|
get_office_subnet
|
|
|
get_subnets_ref
|
|
get_subnets_ref
|
|
@@ -297,16 +296,6 @@ sub get_office_subnet {
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------------------------------
|
|
#---------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
-sub get_notify_subnet {
|
|
|
|
|
-my $db = shift;
|
|
|
|
|
-my $ip = shift;
|
|
|
|
|
-my $notify_flag = get_office_subnet($db,$ip);
|
|
|
|
|
-if ($notify_flag) { return $notify_flag->{notify}; }
|
|
|
|
|
-return 0;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#---------------------------------------------------------------------------------------------------------------
|
|
|
|
|
-
|
|
|
|
|
sub get_new_user_id {
|
|
sub get_new_user_id {
|
|
|
my ($db, $ip, $mac, $hostname) = @_;
|
|
my ($db, $ip, $mac, $hostname) = @_;
|
|
|
return unless $db;
|
|
return unless $db;
|