OSSP CVS Repository

ossp - Difference in ossp-pkg/snmpdx/snmpdx versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/snmpdx/snmpdx 1.4 -> 1.5

--- snmpdx       2003/09/02 12:35:20     1.4
+++ snmpdx       2003/09/02 12:39:20     1.5
@@ -254,10 +254,19 @@
     return;
 }
 
+sub arch ($) {
+    my ($self) = @_;
+    return $self->{-machine};
+}
+
+sub os ($) {
+    my ($self) = @_;
+    return sprintf("%s%s", $self->{-system}, $self->{-release});
+}
+
 sub id ($) {
     my ($self) = @_;
-    return sprintf("%s-%s-%s", 
-        $self->{-machine}, $self->{-system}, $self->{-release});
+    return sprintf("%s-%s%s", $self->{-machine}, $self->{-system}, $self->{-release});
 }
 
 ##  _________________________________________________________________________

CVSTrac 2.0.1