IRATI / stack

RINA implementation for OS/Linux
http://irati.github.io/stack
72 stars 40 forks source link

PR04 -- Initialize the 'timed_out' value to something #1376

Closed fdgonthier closed 2 years ago

fdgonthier commented 2 years ago

This is a tiny thing that I forgot to do in the code that has been merged in IRATI previously. It should be an non-issue to merge it.

I've been seeing the error message "ARP resolver called on timed out request" without realizing that it meant that something was quite wrong in the code. It turns out that when an ARP reply was received, the value of "timed_out" was not initialized, which meant proper replies got rejected on a regular basis. Enough requests still went through as normal that I didn't realize something was wrong before now.