mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updated vlan detection
git-svn-id: http://www.observium.org/svn/observer/trunk@3113 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -42,18 +42,23 @@ if ($dataHandle)
|
||||
} else {
|
||||
if ($cur != $data)
|
||||
{
|
||||
echo("Current Version : $cur_omnipotence.$cur_year.$cur_month.$cur_revision \n");
|
||||
echo("Current Revision : $cur_revision\n");
|
||||
|
||||
if ($omnipotence > $cur_omnipotence)
|
||||
if ($omnipotence > $cur_revision)
|
||||
{
|
||||
echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
} elseif ($year > $cur_year) {
|
||||
echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
} elseif ($month > $cur_month) {
|
||||
echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
} elseif ($revision > $cur_revision) {
|
||||
echo("New release : $omnipotence.$year.$month.$revision\n");
|
||||
echo("New Revision : $omnipotence\n");
|
||||
}
|
||||
|
||||
# if ($omnipotence > $cur_omnipotence)
|
||||
# {
|
||||
# echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
# } elseif ($year > $cur_year) {
|
||||
# echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
# } elseif ($month > $cur_month) {
|
||||
# echo("New version : $omnipotence.$year.$month.$revision\n");
|
||||
# } elseif ($revision > $cur_revision) {
|
||||
# echo("New release : $omnipotence.$year.$month.$revision\n");
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user