Przeglądaj źródła

IPv6 버그 수정

Surplus_Up (2DU) 6 lat temu
rodzic
commit
1545c24b9b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      route/tool/set_mark/tool.py

+ 1 - 1
route/tool/set_mark/tool.py

@@ -41,7 +41,7 @@ def savemark(data):
     data = re.sub("\[date\(now\)\]", get_time(), data)
 
     ip = ip_check()
-    if not re.search("\.", ip):
+    if not re.search("\.|:", ip):
         name = '[[user:' + ip + '|' + ip + ']]'
     else:
         name = ip