diff --git a/netmetr/__main__.py b/netmetr/__main__.py
index 04f46ec030407a5e9d41c5aa016e09d16ad92a24..e1ff33a54016542adb89b969969c5ad2299186d3 100644
--- a/netmetr/__main__.py
+++ b/netmetr/__main__.py
@@ -15,6 +15,7 @@ from urllib import request
 
 from .exceptions import ConfigError, RunError
 from .gps import Location
+from .network import get_network_type
 
 
 RMBT_BIN = "rmbt"
@@ -296,7 +297,7 @@ class Netmetr:
             "client_software_version": "0.3",
             "geoLocations": [],
             "model": self.model,
-            "network_type": 98,
+            "network_type": get_network_type(),
             "platform": "RMBT",
             "product": "os: "+self.os_version+" hw: "+self.hw_version,
             "test_bytes_download": test_result_json.get("res_total_bytes_dl"),