• R/O
  • HTTP
  • SSH
  • HTTPS

multi_forward: Commit


Commit MetaInfo

Revisionb0e24da0fa6e0b9751c87e8e664c789f16f22250 (tree)
Time2019-09-11 10:25:17
AuthorSatoshi Yasuda <yasuda@jk1z...>
CommiterSatoshi Yasuda

Log Message

modified: multi_forward_utils.c

Change Summary

Incremental Difference

--- a/multi_forward_utils.c
+++ b/multi_forward_utils.c
@@ -85,6 +85,7 @@ void delete_MultiConnectTable (struct sockaddr_in multi_addr)
8585 struct MultiConnectTable *prev;
8686 struct FifoPkt *Rp;
8787 struct FifoPkt *temp;
88+ time_t cur_time;
8889
8990 next = MultiConnectTablePnt;
9091 prev = NULL;
@@ -92,6 +93,7 @@ void delete_MultiConnectTable (struct sockaddr_in multi_addr)
9293 {
9394 if (!memcmp (&multi_addr, &next->multi_addr, sizeof (multi_addr)))
9495 {
96+ time(&cur_time);
9597 fprintf (log_file, "%24.24s Disconnect from %8.8s %s(%d)\n",
9698 ctime(&cur_time),
9799 next->auth_callsign, inet_ntoa (next->multi_addr.sin_addr),
Show on old repository browser