From 6e8e20f3600569d1d92315487426ea6ae3a0e846 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 11 Feb 2012 11:39:56 +0000 Subject: [PATCH] Changed separators to prevent wrong detection on ip:port --- application/hub/main/package/class_NetworkPackage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index b1d770715..9e3c8420e 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -44,17 +44,17 @@ class NetworkPackage extends BaseFrameworkSystem implements Deliverable, Receiva * 3: Checksum * 0 1 2 3 */ - const PACKAGE_MASK = '%s:%s:%s:%s'; + const PACKAGE_MASK = '%s/%s/%s/%s'; /** * Seperator for the above mask */ - const PACKAGE_MASK_SEPERATOR = ':'; + const PACKAGE_MASK_SEPERATOR = '/'; /** * Seperator for checksum */ - const PACKAGE_CHECKSUM_SEPERATOR = ':'; + const PACKAGE_CHECKSUM_SEPERATOR = '|'; /** * Array indexes for above mask, start with zero -- 2.39.5