[Groonga-commit] droonga/droonga-http-server at 116336a [master] Ignore IPv6 addresses

Back to archive index

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


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

  New Revision: 116336a71cbf517ffc50c142ccbe8544742c6e9c
  https://github.com/droonga/droonga-http-server/commit/116336a71cbf517ffc50c142ccbe8544742c6e9c

  Message:
    Ignore IPv6 addresses

  Modified files:
    install.sh

  Modified: install.sh (+1 -0)
===================================================================
--- install.sh    2014-09-29 15:35:57 +0900 (7a8fff5)
+++ install.sh    2014-09-29 16:31:21 +0900 (9cc5472)
@@ -204,6 +204,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