FreeBSD Bugzilla – Attachment 170101 Details for
Bug 209368
[PATCH] bsnmpd: snmp_hostres: Only refresh devtree if devd event is a new or removed device
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Only refresh device table on a device add or remove event
hostres_device_tbl.c.diff (text/plain), 404 bytes, created by
Joe Marcus Clarke
on 2016-05-07 20:22:03 UTC
(
hide
)
Description:
Only refresh device table on a device add or remove event
Filename:
MIME Type:
Creator:
Joe Marcus Clarke
Created:
2016-05-07 20:22:03 UTC
Size:
404 bytes
patch
obsolete
>--- usr/src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c.orig 2016-05-07 16:19:39.680464000 -0400 >+++ usr/src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_device_tbl.c 2016-05-07 16:14:23.511457000 -0400 >@@ -479,7 +479,8 @@ again: > } else { > if (read_len == sizeof(buf)) > goto again; >- refresh_device_tbl(1); >+ if (buf[0] == '+' || buf[0] == '-') >+ refresh_device_tbl(1); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209368
: 170101