~ubuntu-branches/ubuntu/intrepid/net-snmp/intrepid-updates

« back to all changes in this revision

Viewing changes to agent/mibgroup/agentx/master.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-11-28 12:29:34 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128122934-82xxzy2zcvypnvy7
Tags: 5.2.3-4ubuntu1
* Merge from debian unstable, remaining changes:
  - remove stop links from rc0 and rc6

Show diffs side-by-side

added added

removed removed

Lines of Context:
449
449
                "agentx master handler starting, mode = 0x%02x\n",
450
450
                reqinfo->mode));
451
451
 
 
452
    if (!ax_session) {
 
453
        netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_GENERR);
 
454
        return SNMP_ERR_NOERROR;
 
455
    }        
 
456
 
452
457
    /*
453
458
     * build a new pdu based on the pdu type coming in 
454
459
     */
495
500
        return SNMP_ERR_NOERROR;
496
501
    }
497
502
 
498
 
    if (!pdu || !ax_session) {
 
503
    if (!pdu) {
499
504
        netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_GENERR);
500
505
        return SNMP_ERR_NOERROR;
501
506
    }