[Groonga-commit] droonga/droonga-engine at 890ea08 [master] Ignore IPv6 addresses

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Sep 29 16:31:38 JST 2014


YUKI Hiroshi	2014-09-29 16:31:38 +0900 (Mon, 29 Sep 2014)

  New Revision: 890ea087ba10589830e459ccb110fe2fd0148556
  https://github.com/droonga/droonga-engine/commit/890ea087ba10589830e459ccb110fe2fd0148556

  Message:
    Ignore IPv6 addresses

  Modified files:
    install.sh

  Modified: install.sh (+1 -0)
===================================================================
--- install.sh    2014-09-29 15:35:15 +0900 (f72fb0b)
+++ install.sh    2014-09-29 16:31:38 +0900 (fc0c7aa)
@@ -165,6 +165,7 @@ determine_hostname() {
 
   local address=$(hostname -i | \
                   $sed -e "s/127\.[0-9]+\.[0-9]+\.[0-9]+//g" \
+                       -e "s/[0-9a-f:]+%[^ ]+//g" \
                        -e "s/  +/ /g" \
                        -e "s/^ +| +\$//g" |\
                   cut -d " " -f 1)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index