Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorcary committed Jan 24, 2025
1 parent 0d4b584 commit 902c00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/ipmi_/lan.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def apply_config(channel, data):
rc = 0
options = {'stdout': DEVNULL, 'stderr': DEVNULL}
if data.get('dhcp'):
rc |= run(base_cmd + ['dhcp'], **options).returncode
rc |= run(base_cmd + ['ipsrc', 'dhcp'], **options).returncode
else:
rc |= run(base_cmd + ['ipsrc', 'static'], **options).returncode
rc |= run(base_cmd + ['ipaddr', data['ipaddress']], **options).returncode
Expand Down

0 comments on commit 902c00c

Please sign in to comment.