Skip to content

Commit

Permalink
T6773: dhcp-server: ddns: Fix a copypaste error
Browse files Browse the repository at this point in the history
  • Loading branch information
abukharov committed Jan 20, 2025
1 parent f653392 commit c1bd755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/vyos/kea.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ def kea_parse_ddns_settings(config):
data['ddns-send-updates'] = kea_parse_enable_disable(send_updates)

if update_both := config.get('force_update_both'):
data['ddns-override-client-update'] = kea_parse_enable_disable(force_update)
data['ddns-override-client-update'] = kea_parse_enable_disable(update_both)

if force_update := config.get('force_update'):
data['ddns-override-no-update'] = kea_parse_enable_disable(update_both)
data['ddns-override-no-update'] = kea_parse_enable_disable(force_update)

if update_on_renew := config.get('update_on_renew'):
data['ddns-update-on-renew'] = kea_parse_enable_disable(update_on_renew)
Expand Down

0 comments on commit c1bd755

Please sign in to comment.