[packages/apinger] - fix for updated srcip patch
hawk
hawk at pld-linux.org
Fri Jul 27 14:16:00 CEST 2012
commit 1bbd4703564e9e8236f5426753b794dc808bfb46
Author: Marcin Krol <hawk at tld-linux.org>
Date: Fri Jul 27 12:19:06 2012 +0000
- fix for updated srcip patch
apinger-status.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/apinger-status.patch b/apinger-status.patch
index 6baeeea..ed4f0f6 100644
--- a/apinger-status.patch
+++ b/apinger-status.patch
@@ -9,7 +9,7 @@ diff -ur apinger-0.6.1.orig//src/apinger.c apinger-0.6.1/src/apinger.c
+ if(!config->status_format) fprintf(f,"%s\n",ctime(&tm));
for(t=targets;t;t=t->next){
- fprintf(f,"Target: %s\n",t->name);
-- fprintf(f,"Source IP: %s\n",t->config->srcip);
+- fprintf(f,"Source: %s\n",t->config->srcip);
- fprintf(f,"Description: %s\n",t->description);
- fprintf(f,"Last reply received: #%i %s",t->last_received,
- ctime(&t->last_received_tv.tv_sec));
@@ -21,7 +21,7 @@ diff -ur apinger-0.6.1.orig//src/apinger.c apinger-0.6.1/src/apinger.c
+ }
+ else{
+ fprintf(f,"Target: %s\n",t->name);
-+ fprintf(f,"Source IP: %s\n",t->config->srcip);
++ fprintf(f,"Source: %s\n",t->config->srcip);
+ fprintf(f,"Description: %s\n",t->description);
+ fprintf(f,"Last reply received: #%i %s",t->last_received,
+ ctime(&t->last_received_tv.tv_sec));
More information about the pld-cvs-commit
mailing list