fix: Added localhost to intra-routing filter
This commit is contained in:
@@ -95,7 +95,8 @@ void incphub_task_main(void *params)
|
||||
// === Private functions ===
|
||||
static int handle_nil_packet(nil_packet_t *nil)
|
||||
{
|
||||
if (nil->header.dst_addr == INCPHUB_LOCAL_NIL_ADDR)
|
||||
if (nil->header.dst_addr == INCPHUB_LOCAL_NIL_ADDR
|
||||
|| nil->header.dst_addr == NIL_ADDR_LOCALHOST)
|
||||
{
|
||||
ntl_packet_t *ntl = extract_ntl_packet(nil);
|
||||
if (ntl == NULL)
|
||||
|
||||
Reference in New Issue
Block a user