Skip to content

Commit

Permalink
removed '== 1' for cfg.DNS_UPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed Aug 19, 2021
1 parent 2b7e3bf commit 2c05a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhcpy6d/options/option_39.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def build(self, transaction=None, **kwargs):
else:
hostname = transaction.client.hostname
if not hostname == '':
if cfg.DNS_UPDATE == 1:
if cfg.DNS_UPDATE:
# DNS update done by server - don't care what client wants
if cfg.DNS_IGNORE_CLIENT:
s = 1
Expand Down

0 comments on commit 2c05a2a

Please sign in to comment.