/[radius]/radius/radiusd/snmpserv.c
ViewVC logotype

Diff of /radius/radiusd/snmpserv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.58 by gray, Sat May 3 10:33:56 2003 UTC revision 1.59 by gray, Mon Jun 2 13:38:29 2003 UTC
# Line 162  _acl_iterator(void *item, void *data) Line 162  _acl_iterator(void *item, void *data)
162              && strcmp(acl->community->name, clos->community))              && strcmp(acl->community->name, clos->community))
163                  return 0;                  return 0;
164          if (list_locate(acl->netlist, data, _netdef_cmp)) {          if (list_locate(acl->netlist, data, _netdef_cmp)) {
165                  clos->access = acl->community->access;                  clos->access = acl->community ? acl->community->access : 0;
166                  return 1;                  return 1;
167          }          }
168          return 0;          return 0;
# Line 1127  snmp_agent_response(struct snmp_pdu *pdu Line 1127  snmp_agent_response(struct snmp_pdu *pdu
1127                                          debug(1, ("returning"));                                          debug(1, ("returning"));
1128                                          /* preserve the rest of vars */                                          /* preserve the rest of vars */
1129                                          *vresp = snmp_var_dup_list(vp);                                          *vresp = snmp_var_dup_list(vp);
                                         *vpp = NULL;  
1130                                          return answer;                                          return answer;
1131                                  }                                  }
1132                                  /* No error.                                  /* No error.
# Line 1159  snmp_agent_response(struct snmp_pdu *pdu Line 1158  snmp_agent_response(struct snmp_pdu *pdu
1158                                                    answer->err_stat));                                                    answer->err_stat));
1159                                          /* preserve the rest of vars */                                          /* preserve the rest of vars */
1160                                          *vresp = snmp_var_dup_list(vp);                                          *vresp = snmp_var_dup_list(vp);
                                         *vpp = NULL;  
1161                                          return answer;                                          return answer;
1162                                  }                                  }
1163                                  /* No error.                                  /* No error.

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26