HenriWahl / dhcpy6d

MAC address aware DHCPv6 server written in Python
https://dhcpy6d.de
GNU General Public License v2.0
94 stars 27 forks source link

Fix indentation issue in option 23 #58

Closed anthonygego closed 2 years ago

anthonygego commented 2 years ago

Hello,

Option 23 does not seem to be sent to the clients if no nameserver variable is specified in the clients class even if the global nameserver variable is set.

I think it comes from an indentation issue in the code, as the elif statement is currently put after the transaction.client check. Indenting the block indeed seems to solve the issue.

Cordially, Anthony

HenriWahl commented 2 years ago

@anthonygego thanks!