Skip to content

alt-name: Improve wording and correct length limitation - #79

Open
jrha wants to merge 2 commits into
nmstate:mainfrom
jrha:altname-limit
Open

jrha wants to merge 2 commits into
nmstate:mainfrom
jrha:altname-limit

Conversation

@jrha

@jrha jrha commented Oct 26, 2026

Copy link
Copy Markdown

The 127 character limit comes from ALTIFNAMSIZ in include/uapi/linux/if.h in the linux kernel headers,
it has not changed since it was first added.

Note that the length limit for interface aliases (IFALIASZ) is 255 characters, this may have been a source of confusion.

jrha added 2 commits October 26, 2026 20:45
Signed-off-by: James Adams <james.adams@stfc.ac.uk>
The 127 character limit comes from ALTIFNAMSIZ in include/uapi/linux/if.h in the linux kernel headers,
it has not changed since it was first added (2019-10-01).

Note that the length limit for interface aliases (IFALIASZ) is 255 characters, this may have been a source of confusion.

Signed-off-by: James Adams <james.adams@stfc.ac.uk>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant