~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677ef44
)
functions.m4: Correct defaulting of IPv6 host addresses.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 11 Mar 2012 05:03:21 +0000
(
05:03
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 11 Mar 2012 05:18:45 +0000
(
05:18
+0000)
functions.m4
patch
|
blob
|
blame
|
history
diff --git
a/functions.m4
b/functions.m4
index
2267af6
..
b78dcbe
100644
(file)
--- a/
functions.m4
+++ b/
functions.m4
@@
-498,7
+498,7
@@
host () {
for n in $nn; do
addr=${n%/*}
base=${addr%::*}
- case $a
in ::*) aa=$addr$a ;; *) aa=$a
;; esac
+ case $a
6 in ::*) aa=$base$a6 ;; *) aa=$a6
;; esac
eval host_inet6_$name=$aa
done