changeset 739:f8a7cc1fd3f6

remove Io.my_ips() not needed
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 06 Jul 2016 17:47:12 -0600
parents ce0d1acedc4b
children 6871ba08d521
files core/src/luan/modules/Io.luan core/src/luan/modules/IoLuan.java
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/modules/Io.luan	Wed Jul 06 17:43:29 2016 -0600
+++ b/core/src/luan/modules/Io.luan	Wed Jul 06 17:47:12 2016 -0600
@@ -5,7 +5,6 @@
 local M = {}
 
 M.ip = IoLuan.ip
-M.my_ips = IoLuan.my_ips
 M.read_console_line = IoLuan.read_console_line
 M.schemes = IoLuan.newSchemes()
 M.uri = IoLuan.uri
--- a/core/src/luan/modules/IoLuan.java	Wed Jul 06 17:43:29 2016 -0600
+++ b/core/src/luan/modules/IoLuan.java	Wed Jul 06 17:47:12 2016 -0600
@@ -748,7 +748,7 @@
 			return null;
 		}
 	}
-
+/*
 	public static LuanTable my_ips() throws IOException {
 		LuanTable tbl = new LuanTable();
 		for( Enumeration<NetworkInterface> e1 = NetworkInterface.getNetworkInterfaces(); e1.hasMoreElements(); ) {
@@ -761,7 +761,7 @@
 		}
 		return tbl;
 	}
-
+*/
 
 	// files maps zip name to uri
 	public static void zip(LuanState luan,String zipUri,LuanTable files) throws LuanException, IOException {