Bugfixes & handling $duid and $type, Fixes #4206
Bugfixes & handling $duid and $type, Fixes #4206

This patch addresses:
1. Handling of IA_NA and IA_PD strings (that contain IAID+DUID content) using only the DUID part.
2. Fixing regular expression matching with respect to the IAID+DUID string regarding the legal \" substring (used in ISC DHCPv6 leases).
3. Checking the $duid variable before use. Default case for $type in the switch case statement.

Please see the ticket for further information.
dennypage/pfsense,phil-davis/pfsense,jxmx/pfsense,ch1c4um/pfsense,phil-davis/pfsense,dennypage/pfsense,NewEraCracker/pfsense,NOYB/pfsense,pfsense/pfsense,ch1c4um/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,ch1c4um/pfsense,ptorsten/pfsense,pfsense/pfsense,pfsense/pfsense,jxmx/pfsense,phil-davis/pfsense,phil-davis/pfsense,NOYB/pfsense,NewEraCracker/pfsense,brunostein/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,NOYB/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,jxmx/pfsense,pfsense/pfsense