diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-10-10 23:37:31 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-10-10 23:37:31 +0100 |
| commit | 96ac3e4a36e5a0a9d86c10442ed747a8a910b40c (patch) | |
| tree | 17215eb22d64de32efda93c6d4bd6a02499cbefc /BPQNRR.c | |
| parent | 7c796758d1b65d4d7585c90ba71b1fb339a4d283 (diff) | |
New upstream version 6.0.25.06+repackupstream/6.0.25.06+repack
Diffstat (limited to 'BPQNRR.c')
| -rw-r--r-- | BPQNRR.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -45,6 +45,8 @@ extern VOID Q_ADD(); VOID __cdecl Debugprintf(const char * format, ...);
TRANSPORTENTRY * NRRSession;
+time_t NRRTime;
+
/*
datagrams (and other things) to be transported in Netrom L3 frames.
@@ -76,6 +78,7 @@ VOID NRRecordRoute(UCHAR * Buff, int Len) UCHAR * BUFFER = GetBuff();
UCHAR * ptr1;
struct _MESSAGE * Msg;
+ time_t Now = time(NULL);
if (BUFFER == NULL)
return;
@@ -84,7 +87,7 @@ VOID NRRecordRoute(UCHAR * Buff, int Len) *ptr1++ = 0xf0; // PID
- ptr1 += sprintf(ptr1, "NRR Response:");
+ ptr1 += sprintf(ptr1, "NRR Response in (probably) %d Secs :", (int)(Now - NRRTime));
Buff += 21 + MSGHDDRLEN;
Len -= (21 + MSGHDDRLEN);
@@ -172,6 +175,7 @@ VOID SendNRRecordRoute(struct DEST_LIST * DEST, TRANSPORTENTRY * Session) return;
NRRSession = Session; // Save Session Pointer for reply
+ NRRTime = time(NULL);
Msg->Port = 0;
Msg->L3PID = NRPID;
|
