mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
fix state-machine in cases T_AAAA is not available
This commit is contained in:
parent
a213c71735
commit
426cf8eb57
1 changed files with 3 additions and 1 deletions
|
@ -548,10 +548,12 @@ PHP_FUNCTION(dns_get_record)
|
||||||
case 7:
|
case 7:
|
||||||
type_to_fetch = type_param&PHP_DNS_TXT ? T_TXT : 0;
|
type_to_fetch = type_param&PHP_DNS_TXT ? T_TXT : 0;
|
||||||
break;
|
break;
|
||||||
#ifdef T_AAAA
|
|
||||||
case 8:
|
case 8:
|
||||||
|
#ifdef T_AAAA
|
||||||
type_to_fetch = type_param&PHP_DNS_AAAA ? T_AAAA : 0;
|
type_to_fetch = type_param&PHP_DNS_AAAA ? T_AAAA : 0;
|
||||||
break;
|
break;
|
||||||
|
#else
|
||||||
|
continue;
|
||||||
#endif
|
#endif
|
||||||
case 9:
|
case 9:
|
||||||
store_results = 0;
|
store_results = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue