summaryrefslogtreecommitdiffstats
path: root/plugins/check_dhcp.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-30 00:41:41 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-30 00:41:41 (GMT)
commit7df9bd7bab72af4f300eef9dc509a226924de58b (patch)
treed98aa39e6fd369c439928d033e45382331e4755f /plugins/check_dhcp.c
parentfba6d9719e362be25a546ed47d0f7a42679fc79a (diff)
downloadmonitoring-plugins-7df9bd7bab72af4f300eef9dc509a226924de58b.tar.gz
more internationalization fixes
internationalization freeze for beta1 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dhcp.c')
-rw-r--r--plugins/check_dhcp.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/check_dhcp.c b/plugins/check_dhcp.c
index 1a16d3e..6703c57 100644
--- a/plugins/check_dhcp.c
+++ b/plugins/check_dhcp.c
@@ -927,7 +927,7 @@ int get_results(void){
927 printf(_(", %s%d of %d requested servers responded"),((requested_responses<requested_servers) && requested_responses>0)?"only ":"",requested_responses,requested_servers); 927 printf(_(", %s%d of %d requested servers responded"),((requested_responses<requested_servers) && requested_responses>0)?"only ":"",requested_responses,requested_servers);
928 928
929 if(request_specific_address==TRUE) 929 if(request_specific_address==TRUE)
930 printf(_(", requested address (%s) was %soffered"),inet_ntoa(requested_address),(received_requested_address==TRUE)?"":"not "); 930 printf(_(", requested address (%s) was %soffered"),inet_ntoa(requested_address),(received_requested_address==TRUE)?"":_("not "));
931 931
932 printf(_(", max lease time = ")); 932 printf(_(", max lease time = "));
933 if(max_lease_time==DHCP_INFINITE_TIME) 933 if(max_lease_time==DHCP_INFINITE_TIME)
@@ -1048,23 +1048,19 @@ int call_getopt(int argc, char **argv){
1048 break; 1048 break;
1049 1049
1050 case 'V': /* version */ 1050 case 'V': /* version */
1051 1051 print_revision(progname,revision);
1052 /*print_revision(progname,"$Revision$");*/
1053 exit(STATE_OK); 1052 exit(STATE_OK);
1054 1053
1055 case 'h': /* help */ 1054 case 'h': /* help */
1056
1057 print_help(); 1055 print_help();
1058 exit(STATE_OK); 1056 exit(STATE_OK);
1059 1057
1060 case 'v': /* verbose */ 1058 case 'v': /* verbose */
1061
1062 verbose=1; 1059 verbose=1;
1063 break; 1060 break;
1064 1061
1065 case '?': /* help */ 1062 case '?': /* help */
1066 1063 usage2 (_("Unknown argument"), optarg);
1067 /*usage("Invalid argument\n");*/
1068 break; 1064 break;
1069 1065
1070 default: 1066 default:
@@ -1076,7 +1072,6 @@ int call_getopt(int argc, char **argv){
1076 } 1072 }
1077 1073
1078 1074
1079
1080int validate_arguments(void){ 1075int validate_arguments(void){
1081 1076
1082 return OK; 1077 return OK;