mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-22 06:27:51 +00:00
Supressed some spurious output.
This commit is contained in:
parent
6548a63b8e
commit
3939001501
4
batman.c
4
batman.c
@ -52,7 +52,7 @@ int readRoutingTable(struct in_addr peers[],int *peer_count,int peer_max){
|
||||
FILE *fp = fopen("/proc/net/route","r");
|
||||
if (!fp) return -1;
|
||||
|
||||
fprintf(stderr,"Skipping line\n");
|
||||
if (debug>1) fprintf(stderr,"Skipping line\n");
|
||||
if (fscanf(fp, "%*[^\n]\n") < 0)
|
||||
goto ERROR;
|
||||
|
||||
@ -100,7 +100,7 @@ int readArpTable(struct in_addr peers[],int *peer_count,int peer_max){
|
||||
FILE *fp = fopen("/proc/net/arp","r");
|
||||
if (!fp) return -1;
|
||||
|
||||
fprintf(stderr,"Skipping line\n");
|
||||
if (debug>1) fprintf(stderr,"Skipping line\n");
|
||||
if (fscanf(fp, "%*[^\n]\n") < 0)
|
||||
goto ERROR;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user