~ubuntu-branches/ubuntu/raring/bind9/raring

« back to all changes in this revision

Viewing changes to bin/named/interfacemgr.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2012-01-19 12:30:31 UTC
  • mfrom: (1.9.1) (26.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120119123031-0j2wlg66ll5ogpz2
Tags: 1:9.8.1.dfsg.P1-1~build1
preciseĀ upload

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004-2009  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004-2009, 2011  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 1999-2002  Internet Software Consortium.
4
4
 *
5
5
 * Permission to use, copy, modify, and/or distribute this software for any
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: interfacemgr.c,v 1.95 2009-01-17 23:47:42 tbox Exp $ */
 
18
/* $Id: interfacemgr.c,v 1.95.426.2 2011-03-12 04:59:14 tbox Exp $ */
19
19
 
20
20
/*! \file */
21
21
 
379
379
                }
380
380
        }
381
381
        *ifpret = ifp;
382
 
        return (ISC_R_SUCCESS);
 
382
        return (result);
383
383
 
384
384
 cleanup_interface:
385
385
        ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
964
964
ns_interfacemgr_listeningon(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr) {
965
965
        isc_sockaddr_t *old;
966
966
 
967
 
        old = ISC_LIST_HEAD(mgr->listenon);
968
967
        for (old = ISC_LIST_HEAD(mgr->listenon);
969
968
             old != NULL;
970
969
             old = ISC_LIST_NEXT(old, link))