Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
snabb-snmp-subagent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Gall
snabb-snmp-subagent
Commits
a648c07a
Commit
a648c07a
authored
Feb 10, 2016
by
Alexander Gall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include auxiliary objects in segments
parent
bb36077e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
subagent/lib/Snabb/SNMP/Agent.pm
subagent/lib/Snabb/SNMP/Agent.pm
+1
-1
subagent/lib/Snabb/SNMP/Tie.pm
subagent/lib/Snabb/SNMP/Tie.pm
+0
-2
No files found.
subagent/lib/Snabb/SNMP/Agent.pm
View file @
a648c07a
...
...
@@ -293,7 +293,7 @@ sub parse_shmem() {
## Weird: when an non-existant object is accessed for the
## first time, the result is undef, but subsequent accesses
## return a reference to an empty hash :/
if
(
$name
=~
/^_X/
or
(
not
defined
$oid_node
or
if
(
not
$name
=~
/^_X/
and
(
not
defined
$oid_node
or
keys
(
%
{
$oid_node
})
==
0
))
{
##warn "$idx: unokwn object $name, skipping";
}
else
{
...
...
subagent/lib/Snabb/SNMP/Tie.pm
View file @
a648c07a
...
...
@@ -107,8 +107,6 @@ sub FETCH {
if
(
$stamp_abs
!=
0
)
{
$stamp
=
100
*
(
time
()
-
$stamp_abs
);
}
}
else
{
print
("
abs ticks
$aux_name
\n
");
}
}
return
$stamp
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment