This was already done this way with Homebrew. Fix #438.
+ Do not use interface alias if we set it ourselves.
+ More memory leak fixes on duplicate TLVs in LLDP, CDP and EDP
(related to CVE-2020-27827).
+ + On OSX, handle empty groups correctly when looking for a free UID/GID.
* Changes:
+ Display port status with "show interfaces".
+ Do not display "age" and "via" when using "show interfaces".
# We need to find a free UID/GID
uid=200
while $($dscl . -list /Users uid | grep -q "\b${uid}$") || \
- $($dscl . -list /Users gid | grep -q "\b${uid}$"); do
+ $($dscl . -list /Groups gid | grep -q "\b${uid}$"); do
uid=$((${uid} + 1))
done
$dscl . -create /Groups/${group}