Open xmacan opened 5 months ago
Maybe make the is user preference. It's already there but missing the - as an option.
xxxx-xxxx-xxxx xxxx.xxxx.xxxx xxxxxxxxxxxx xx:xx:xx:xx:xx:xx
What is the format of MAC's data in the database? If it's a user preference, it means that is the display format.
The later. Those other two formats are not supported, but are only a code change away.
Add one more format: xx-xx-xx-xx-xx-xx
That format and the colon format are both supported. I think they are stored in the database with colons, but it’s honestly been so many years since I wrote it, I don’t remember 😉
add mac address formats: xxxx-xxxx-xxxx xxxx.xxxx.xxxx xxxxxxxxxxxx
1) change settings "Mac address delimiter" to "Mac address format" 2) prepare function mt_format_mac 3) use everywhere
(https://github.com/Cacti/cacti/discussions/5746)