Hi!
Now I see what's the problem. Please, redo the patch (see below) or I
can redo this, just tell me.
On Fri, Jul 11, 2014 at 07:37:23PM -0300, Augusto Mecking Caringi wrote:
---
src/itrafmon.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/itrafmon.c b/src/itrafmon.c
index f19eb61..09431de 100644
--- a/src/itrafmon.c
+++ b/src/itrafmon.c
@@ -535,11 +535,12 @@ static int checkrvnamed(void)
return 1;
}
-static void ipmon_process_key(int ch, int curwin, struct tcptable *table, struct
othptable *othptbl)
int *curwin,
and then change every curwin to *curwin in ipmon_process_key()
@@ -1012,7 +1014,7 @@ void ipmon(time_t facilitytime, char *ifptr)
}
if (ch != ERR)
- ipmon_process_key(ch, curwin, &table, &othptbl);
+ ipmon_process_key(ch, &curwin, &table, &othptbl);
if (pkt.pkt_len > 0) {
total_pkts++;
And don't forget to write proper commit message. Then that would
receive my Acked-by.
Thanks,
Vita