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

« back to all changes in this revision

Viewing changes to agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Note: this file originally auto-generated by mib2c using
3
3
 *       version : 1.67 $ of : mfd-interface.m2c,v $ 
4
4
 *
5
 
 * $Id: ipCidrRouteTable_interface.c,v 1.13 2005/11/30 22:32:31 rstory Exp $
 
5
 * $Id: ipCidrRouteTable_interface.c 15781 2007-01-23 22:55:06Z rstory $
6
6
 */
7
7
/*
8
8
 * *********************************************************************
553
553
    if (NULL == rowreq_ctx) {
554
554
        snmp_log(LOG_ERR, "Couldn't allocate memory for a "
555
555
                 "ipCidrRouteTable_rowreq_ctx.\n");
 
556
        return NULL;
556
557
    } else {
557
558
        if (NULL != data) {
558
559
            /*
2122
2123
     * and update column exist flags...
2123
2124
     */
2124
2125
    if (rowreq_ctx->rowreq_flags & MFD_ROW_DELETED) {
2125
 
        CONTAINER_REMOVE(ipCidrRouteTable_if_ctx.container, rowreq_ctx);
 
2126
        if (!(rowreq_ctx->rowreq_flags & MFD_ROW_CREATED))
 
2127
            CONTAINER_REMOVE(ipCidrRouteTable_if_ctx.container, rowreq_ctx);
2126
2128
    } else {
2127
2129
        if (rowreq_ctx->column_set_flags) {
2128
2130
            rowreq_ctx->column_set_flags = 0;