Skip to content

Commit

Permalink
[pfsense_dhcp_static] Add arp_table_static_entry to command logging
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Jan 11, 2024
1 parent dd4440b commit 7b0a52f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/modules/pfsense_dhcp_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,11 @@ def _log_fields(self, before=None):
if before is None:
values += self.format_cli_field(self.params, 'macaddr')
values += self.format_cli_field(self.params, 'ipaddr')
values += self.format_cli_field(self.params, 'arp_table_static_entry', fvalue=self.fvalue_bool, default=False)
else:
values += self.format_updated_cli_field(self.obj, before, 'macaddr', add_comma=(values))
values += self.format_updated_cli_field(self.obj, before, 'ipaddr', add_comma=(values))
values += self.format_updated_cli_field(self.obj, before, 'arp_table_static_entry', fvalue=self.fvalue_bool, add_comma=(values))
return values

##############################
Expand Down

0 comments on commit 7b0a52f

Please sign in to comment.