-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong network interface name if the name is long #1089
Comments
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 5, 2024
long interface name will be truncated by ifconfig (issue scop#1089), prefer to use iproute2
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 5, 2024
long interface name will be truncated by ifconfig (issue scop#1089), prefer to use iproute2
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 8, 2024
long interface name may be truncated by ifconfig, prefer iproute2. See also: scop#1089
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 8, 2024
long interface name may be truncated by ifconfig, prefer iproute2. See also: scop#1089
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 8, 2024
long interface name may be truncated by ifconfig, prefer iproute2. See also: scop#1089
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 8, 2024
long interface name may be truncated by ifconfig, prefer iproute2. See also: scop#1089
hellodword
added a commit
to hellodword/bash-completion
that referenced
this issue
Feb 8, 2024
long interface name may be truncated by ifconfig, prefer iproute2. See also: scop#1089
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
network interface name get truncated with ifconfig
To reproduce
bash-completion/bash_completion
Lines 1723 to 1738 in 2b7fc19
Then the
_comp_compgen_available_interfaces -a
will returnnameislongLink
instead ofnameislong
Reproduce:
Expected behavior
Versions (please complete the following information)
NixOS 24.05.20240102.bd645e8
echo "$BASH_VERSION"
:5.2.21(1)-release
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
:2.11
Additional context
It's bug of upstream inetutils, but maybe we can simply use iproute2 as default choose
ip -c=never link show up || ip link show up || ifconfig
bash-completion/bash_completion
Lines 1731 to 1733 in 2b7fc19
The text was updated successfully, but these errors were encountered: