aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 804a29c6f..fc171d5e7 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -4209,14 +4209,16 @@ char* ndpi_quick_decrypt(const char *encrypted_msg,
/* ************************************************************** */
-const char* ndpi_print_os_hint(u_int8_t os_hint) {
+const char* ndpi_print_os_hint(ndpi_os os_hint) {
switch(os_hint) {
- case os_hint_windows: return("Windows");
- case os_hint_macos: return("macOS");
- case os_hint_ios_ipad_os: return("iOS/iPad");
- case os_hint_android: return("Android");
- case os_hint_linux: return("Linux");
- case os_hint_freebsd: return("FreeBSD");
+ case ndpi_os_windows: return("Windows");
+ case ndpi_os_macos: return("macOS");
+ case ndpi_os_ios_ipad_os: return("iOS/iPad");
+ case ndpi_os_android: return("Android");
+ case ndpi_os_linux: return("Linux");
+ case ndpi_os_freebsd: return("FreeBSD");
+ default:
+ break;
}
return("Unknown");