Fix initialisation of struct nat entry, to solve a panic that occurs

when reloading a nat table after reboot

Submitted by:	Arjan de Vet <devet@devet.org>
Reviewed by:	IP Filter mailing list
MFC after:	3 days
This commit is contained in:
Guido van Rooij 2001-12-05 10:46:24 +00:00
parent 3068bdba98
commit 9a0ad4c91a

View File

@ -902,6 +902,7 @@ caddr_t data;
nat->nat_aps = NULL;
in = nat->nat_ptr;
nat->nat_ptr = NULL;
nat->nat_hm = NULL;
nat->nat_data = NULL;
/*