summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2024-03-09 13:02:43 -0500
committerMike Pagano <mpagano@gentoo.org>2024-03-09 13:02:59 -0500
commitf88dc1707b301affc840120fba5fdc59b665e00a (patch)
treed4304bd56b360a0f95051a3723d210a97685ce32 /net-firewall/ipset/files
parentdev-python/django-auth-ldap: Fix variable order (diff)
downloadgentoo-f88dc1707b301affc840120fba5fdc59b665e00a.tar.gz
gentoo-f88dc1707b301affc840120fba5fdc59b665e00a.tar.bz2
gentoo-f88dc1707b301affc840120fba5fdc59b665e00a.zip
net-firewall/ipset: Fix bash-completion script
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'net-firewall/ipset/files')
-rw-r--r--net-firewall/ipset/files/ipset-bash-completion.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-firewall/ipset/files/ipset-bash-completion.patch b/net-firewall/ipset/files/ipset-bash-completion.patch
new file mode 100644
index 000000000000..1c2b6e62b822
--- /dev/null
+++ b/net-firewall/ipset/files/ipset-bash-completion.patch
@@ -0,0 +1,11 @@
+--- a/utils/ipset_bash_completion/ipset 2024-03-09 12:53:38.756882196 -0500
++++ b/utils/ipset_bash_completion/ipset 2024-03-09 12:54:32.838917743 -0500
+@@ -1005,7 +1005,7 @@ if ((got_bashcompl)); then
+ if ! declare -F _ipset_known_hosts &>/dev/null; then
+ eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | \
+ grep -v __ltrim_colon_completions | \
+- grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")'; }'
++ grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")' }'
+ fi
+ fi
+