[PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 3 18:38:08 CEST 2023
On Tue, 3 Oct 2023 11:59:04 +0100
Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> Ah, I guess it is taken as "XXXX:XXXX:XXXX" format, but number of digit
> is not enforced, so "1:2:3" is a valid format, should we add this to API
> documentation as example format? Or is this unintended side effect?
By allowing leading zeros, it becomes allowed.
DPDK always allowed the non-standard 3 part format.
Looking around only old Cisco ACS used 3 part MAC format and it used
periods.
The API documentation should mention leading zeros are optional.
More information about the dev
mailing list