aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-10-19 13:43:21 +0200
committerLuca Deri <deri@ntop.org>2024-10-19 13:43:21 +0200
commite16b01c4c2d263750388854c5002536bbcaa904c (patch)
tree8bb0def5cb1297158014c0dcdffaf0d2adcf8436 /src/lib/ndpi_utils.c
parent188fadc50303e56a53ebd7afa4807c5d1b75fd86 (diff)
Renamed os hints to avoid name clashes
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 809391fae..0c036bef9 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -3849,12 +3849,12 @@ char* ndpi_quick_decrypt(const char *encrypted_msg,
const char* ndpi_print_os_hint(u_int8_t os_hint) {
switch(os_hint) {
- case os_windows: return("Win");
- case os_macos: return("macOS");
- case os_ios_ipad_os: return("iOS/iPad");
- case os_android: return("Android");
- case os_linux: return("Linux");
- case os_freebsd: return("FreeBSD");
+ case os_hint_windows: return("Win");
+ 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");
}
return("Unknown");