interfaces: protect against INFOREQ in PDINFO force case #6522

This commit is contained in:
Franco Fichtner 2023-05-11 10:19:00 +02:00
parent 31961bf577
commit 485bd39f13

View File

@ -2815,7 +2815,7 @@ INFOREQ|REBIND|RENEW|REQUEST)
if [ \${REASON} = "REQUEST" ]; then
/usr/bin/logger -t dhcp6c "dhcp6c_script: \$REASON on {$wanif} renewal (REASON)"
FORCE=force
elif [ "\${PDOLD}" != "\${PDNEW}" ]; then
elif [ \${REASON} != "INFOREQ" -a "\${PDOLD}" != "\${PDNEW}" ]; then
/usr/bin/logger -t dhcp6c "dhcp6c_script: \$REASON on {$wanif} renewal (PDINFO)"
FORCE=force
fi