mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
Fix SEGV bug in new overlay abbreviation code
This commit is contained in:
parent
d8fc9bd3c2
commit
f2ddc00797
@ -450,7 +450,8 @@ int overlay_abbreviate_remember_index(int index_byte_count,unsigned char *sid_to
|
||||
if (index_byte_count>1) index=(index<<8)|index_bytes[1];
|
||||
|
||||
/* Lookup sender's neighbour ID */
|
||||
if (overlay_abbreviate_current_sender_id==-1) overlay_abbreviate_lookup_sender_id();
|
||||
if (overlay_abbreviate_current_sender_id == -1 && overlay_abbreviate_lookup_sender_id() == -1)
|
||||
return WHY("could not lookup neighbour ID of packet sender");
|
||||
|
||||
if (debug&DEBUG_OVERLAYABBREVIATIONS) {
|
||||
DEBUGF("index=%d", index);
|
||||
|
@ -44,7 +44,6 @@ configure_servald_server() {
|
||||
executeOk_servald config set debug.rhizome on
|
||||
executeOk_servald config set debug.rhizometx on
|
||||
executeOk_servald config set debug.rhizomerx on
|
||||
executeOk_servald config set debug.abbreviations on
|
||||
executeOk_servald config set server.respawn_on_signal off
|
||||
executeOk_servald config set mdp.wifi.tick_ms 100
|
||||
executeOk_servald config set mdp.selfannounce.ticks_per_full_address 1
|
||||
|
Loading…
Reference in New Issue
Block a user