Menu

Commit [r261]  Maximize  Restore  History

fix bug #72 - traffic during startup causes unusable daemon and garbage

now the ESP socket pair is initialized prior to starting threads

an uninitialized espsp[0] was used, causing esp_send_to_hipd() to write()
to file descriptor 0 (causing the garbled output on stdout)

the buffer_packet() function added an LSI entry preventing further
ACQUIRE messages, and therefore no base exchange or traffic,
until 2 minutes later when hip_remove_expired_lsi_entries() expired the entry

siliconja 2014-05-05

changed /hip/trunk/src/linux/hip_linux_umh.c
changed /hip/trunk/src/protocol/hip_globals.c
changed /hip/trunk/src/protocol/hip_main.c
changed /hip/trunk/src/usermode/hip_esp.c
changed /hip/trunk/src/win32/hip_service.c
/hip/trunk/src/linux/hip_linux_umh.c Diff Switch to side-by-side view
Loading...
/hip/trunk/src/protocol/hip_globals.c Diff Switch to side-by-side view
Loading...
/hip/trunk/src/protocol/hip_main.c Diff Switch to side-by-side view
Loading...
/hip/trunk/src/usermode/hip_esp.c Diff Switch to side-by-side view
Loading...
/hip/trunk/src/win32/hip_service.c Diff Switch to side-by-side view
Loading...