FreeBSD/contrib/bsnmp/snmp_mibII/mibII.c
/*
 * Rollback the modification of an address. Don't bother to wait for
 * the routing socket.
 */
Rollback the modification of an address. Don't bother to wait for
the routing socket.
Rollback the modification of an address . Don ' t bother to wait for the routing socket .
void
mib_unmodify_ifa(struct mibifa *ifa)
{
	struct mibif *ifp;
	if ((ifp = mib_find_if(ifa->ifindex)) == NULL) {
		mib_iflist_bad = 1;
		return;
	}
	if (siocaifaddr(ifp->name, ifa->inaddr, ifa->inmask, ifa->inbcast)) {
		mib_iflist_bad = 1;
		return;
	}
}
void mib_unmodify_ifa ( struct mibifa * ifa ) { struct mibif * ifp ; if ( ( ifp = mib_find_if ( ifa -> ifindex ) ) == NULL ) { mib_iflist_bad = 1 ; return ; } if ( siocaifaddr ( ifp -> name , ifa -> inaddr , ifa -> inmask , ifa -> inbcast ) ) { mib_iflist_bad = 1 ; return ; } }
Rollback the modification of an address.
Rollback the modification of an address .
/* ups. */ /* ups. */