diff options
author | Luca <deri@ntop.org> | 2018-07-21 16:02:54 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2018-07-21 16:02:54 +0200 |
commit | 667e77c609d842a9a41930b590de206fb2b917fe (patch) | |
tree | a3a5fade626cc5e875948ec3684f8141e1a4e097 /src/lib/protocols/diameter.c | |
parent | a499f369a560107b214e935dfbef22b4534f76a4 (diff) |
Major code cleanup
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
Diffstat (limited to 'src/lib/protocols/diameter.c')
-rw-r--r-- | src/lib/protocols/diameter.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/protocols/diameter.c b/src/lib/protocols/diameter.c index f2f342914..7fb443c34 100644 --- a/src/lib/protocols/diameter.c +++ b/src/lib/protocols/diameter.c @@ -2,7 +2,6 @@ * diameter.c * * Copyright (C) 2018 - ntop.org - * Written by Michele Campus - <campus@ntop.org> * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH @@ -19,12 +18,12 @@ * * You should have received a copy of the GNU Lesser General Public License * along with nDPI. If not, see <http://www.gnu.org/licenses/>. - * + * + * Based on code of: + * Michele Campus - <campus@ntop.org> */ #include "ndpi_protocol_ids.h" -#ifdef NDPI_PROTOCOL_DIAMETER - #define NDPI_CURRENT_PROTO NDPI_PROTOCOL_DIAMETER #include "ndpi_api.h" @@ -128,5 +127,3 @@ void init_diameter_dissector(struct ndpi_detection_module_struct *ndpi_struct, u *id += 1; } -#endif /* NDPI_PROTOCOL_DIAMETER */ - |