From 684efd2f078fcfe750fa3472705d07d667259183 Mon Sep 17 00:00:00 2001 From: Adam D <44533090+emptyDir@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:43:42 -0700 Subject: [PATCH] Add changelog fragment --- changelogs/fragments/nictagadm-etherstub-nonetype-bugfix.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelogs/fragments/nictagadm-etherstub-nonetype-bugfix.yml diff --git a/changelogs/fragments/nictagadm-etherstub-nonetype-bugfix.yml b/changelogs/fragments/nictagadm-etherstub-nonetype-bugfix.yml new file mode 100644 index 0000000000..b65cb65b53 --- /dev/null +++ b/changelogs/fragments/nictagadm-etherstub-nonetype-bugfix.yml @@ -0,0 +1,4 @@ +bugfixes: + - nictagadm - fix ``'NoneType' object has no attribute 'lower'`` errors when creating etherstubs. + Module always calls ``nictag.is_valid_mac()``, but if ``etherstub`` is set to True then mac is necessarily null. + Adds a condition to the if statement so that ``is_valid_mac()`` doesn't get called if ``etherstub`` is false.