From d122accf9a2f5e7af71dd7c743720a27e10dc654 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Tue, 25 May 2010 00:22:29 +0000 Subject: Patch for 21093 - handle v4 or v6 only a little better. If we can't contstruct the context log it and leave, if we can but then try and do a DDNS transaction using the protocol we don't have log it and continue. --- omapip/isclib.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'omapip/isclib.c') diff --git a/omapip/isclib.c b/omapip/isclib.c index f44f331b..1534dde5 100644 --- a/omapip/isclib.c +++ b/omapip/isclib.c @@ -1,5 +1,5 @@ /* - * Copyright(c) 2009 by Internet Systems Consortium, Inc.("ISC") + * Copyright(c) 2009-2010 by Internet Systems Consortium, Inc.("ISC") * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -40,7 +40,6 @@ isclib_cleanup(void) #endif if (dhcp_gbl_ctx.task != NULL) { -// isc_task_destroy(&dhcp_gbl_ctx.task); isc_task_shutdown(dhcp_gbl_ctx.task); isc_task_detach(&dhcp_gbl_ctx.task); } @@ -152,7 +151,10 @@ dhcp_context_create(void) { return(ISC_R_SUCCESS); cleanup: - isclib_cleanup(); + /* + * Currently we don't try and cleanup, just return an error + * expecting that our caller will log the error and exit. + */ return(result); } -- cgit v1.2.1