Skip to content

Commit

Permalink
interfaces: protect against INFOREQ in PDINFO force case #6522
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed May 11, 2023
1 parent 31961bf commit 485bd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/interfaces.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 485bd39

Please sign in to comment.