[Dhcp-agent-commits] CVS: dhcp-agent dhcp-client-cache.c,1.5,1.6 dhcp-client-conf.c,1.3,1.4 dhcp-cli
Status: Alpha
Brought to you by:
actmodern
From: Thamer Al-H. <act...@us...> - 2002-02-08 01:37:32
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory usw-pr-cvs1:/tmp/cvs-serv22000 Modified Files: dhcp-client-cache.c dhcp-client-conf.c dhcp-client-control.c dhcp-interface.c dhcp-ip.c dhcp-log.c dhcp-net.c dhcp-sniff.c dhcp-util.c Log Message: fixed up rest of client to use verbosity level; Index: dhcp-client-cache.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client-cache.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** dhcp-client-cache.c 3 Feb 2002 16:56:00 -0000 1.5 --- dhcp-client-cache.c 8 Feb 2002 01:37:29 -0000 1.6 *************** *** 160,164 **** } ! /* work house routine to convert from serialized state to network datum. */ static void *convert_to_network(unsigned char tag, char *string) { --- 160,164 ---- } ! /* work horse routine to convert from serialized state to network datum. */ static void *convert_to_network(unsigned char tag, char *string) { *************** *** 173,177 **** if(data == NULL) { ! error_message("option: %s may be malformed. I'll ignore and carry on.", dhcp_options_strings[tag]); return NULL; --- 173,177 ---- if(data == NULL) { ! warn_message("option: %s may be malformed. I'll ignore and carry on.", dhcp_options_strings[tag]); return NULL; *************** *** 263,267 **** if(val == NULL) { ! info_message("option %s appear malformed. skipping.."); continue; } --- 263,267 ---- if(val == NULL) { ! warn_message("option %s appear malformed. skipping.."); continue; } *************** *** 275,279 **** } ! /* work house load options routine. */ static list_t *client_cache_load_options_list_proc(client_cache_t *cc, unsigned char use_tmp, void* (*convert_func)(unsigned char tag, char *string)) --- 275,279 ---- } ! /* work horse load options routine. */ static list_t *client_cache_load_options_list_proc(client_cache_t *cc, unsigned char use_tmp, void* (*convert_func)(unsigned char tag, char *string)) Index: dhcp-client-conf.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client-conf.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dhcp-client-conf.c 7 Feb 2002 18:41:47 -0000 1.3 --- dhcp-client-conf.c 8 Feb 2002 01:37:29 -0000 1.4 *************** *** 84,88 **** if((fputs(dhcp_options_strings[default_config_options[i]], fp) == EOF)|| (fputs("\n", fp) == EOF)) { ! fclose(fp); return -1; --- 84,88 ---- if((fputs(dhcp_options_strings[default_config_options[i]], fp) == EOF)|| (fputs("\n", fp) == EOF)) { ! warn_message("could not dump options to file. I'm going to continue anyway."); fclose(fp); return -1; Index: dhcp-client-control.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client-control.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** dhcp-client-control.c 3 Feb 2002 16:56:00 -0000 1.8 --- dhcp-client-control.c 8 Feb 2002 01:37:29 -0000 1.9 *************** *** 134,139 **** if(dport == -1 || sport == -1) { ! info_message("warning could not lookup dhcp services in service db: %s", strerror(errno)); ! info_message("will use reasonable default."); sport = BOOTP_CLIENT; --- 134,139 ---- if(dport == -1 || sport == -1) { ! warn_message("could not lookup dhcp services in service db: %s", strerror(errno)); ! warn_message("will use reasonable default."); sport = BOOTP_CLIENT; Index: dhcp-interface.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-interface.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** dhcp-interface.c 5 Feb 2002 13:47:38 -0000 1.9 --- dhcp-interface.c 8 Feb 2002 01:37:29 -0000 1.10 *************** *** 1,3 **** --- 1,4 ---- /* $Header$ + * * Copyright 2001 Thamer Alharbash <tm...@wh...> * Index: dhcp-ip.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-ip.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dhcp-ip.c 5 Feb 2002 13:47:38 -0000 1.3 --- dhcp-ip.c 8 Feb 2002 01:37:29 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- /* $Header$ + * * Copyright 2001 Thamer Alharbash <tm...@wh...> * Index: dhcp-log.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-log.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** dhcp-log.c 29 Jan 2002 18:05:05 -0000 1.1.1.1 --- dhcp-log.c 8 Feb 2002 01:37:29 -0000 1.2 *************** *** 3,7 **** * Copyright 2001 Thamer Alharbash <tm...@wh...> * ! * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 3,7 ---- * Copyright 2001 Thamer Alharbash <tm...@wh...> * ! * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: Index: dhcp-net.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-net.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** dhcp-net.c 6 Feb 2002 23:50:15 -0000 1.10 --- dhcp-net.c 8 Feb 2002 01:37:29 -0000 1.11 *************** *** 571,575 **** default: ! error_message("warning: invalid send type"); break; } --- 571,575 ---- default: ! warn_message("warning: invalid send type -- this is a bug report it please."); break; } Index: dhcp-sniff.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-sniff.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dhcp-sniff.c 31 Jan 2002 12:37:24 -0000 1.3 --- dhcp-sniff.c 8 Feb 2002 01:37:29 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- /* $Header$ + * * dhcp-tool Sniffing routines. * Index: dhcp-util.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-util.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** dhcp-util.c 7 Feb 2002 18:41:47 -0000 1.5 --- dhcp-util.c 8 Feb 2002 01:37:29 -0000 1.6 *************** *** 71,75 **** { va_list ap; ! if(verbosity_level <= QUIET_VERBOSITY_LEVEL) return; --- 71,75 ---- { va_list ap; ! if(verbosity_level <= QUIET_VERBOSITY_LEVEL) return; |