|
@ -1,11 +1,10 @@ |
|
|
/*
|
|
|
/**
|
|
|
*(C) 2007-09 - Luca Deri <deri@ntop.org> |
|
|
* (C) 2007-18 - ntop.org and contributors |
|
|
* Richard Andrews <andrews@ntop.org> |
|
|
|
|
|
* |
|
|
* |
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
* it under the terms of the GNU General Public License as published by |
|
|
* it under the terms of the GNU General Public License as published by |
|
|
* the Free Software Foundation; either version 3 of the License, or |
|
|
* the Free Software Foundation; either version 3 of the License, or |
|
|
*(at your option) any later version. |
|
|
* (at your option) any later version. |
|
|
* |
|
|
* |
|
|
* This program is distributed in the hope that it will be useful, |
|
|
* This program is distributed in the hope that it will be useful, |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
@ -13,11 +12,7 @@ |
|
|
* GNU General Public License for more details. |
|
|
* GNU General Public License for more details. |
|
|
* |
|
|
* |
|
|
* You should have received a copy of the GNU General Public License |
|
|
* You should have received a copy of the GNU General Public License |
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>
|
|
|
* along with this program; if not see see <http://www.gnu.org/licenses/>
|
|
|
* |
|
|
|
|
|
* Code contributions courtesy of: |
|
|
|
|
|
* Massimo Torquati <torquati@ntop.org> |
|
|
|
|
|
* Matt Gilg |
|
|
|
|
|
* |
|
|
* |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
@ -235,12 +230,11 @@ void hexdump(const uint8_t * buf, size_t len) |
|
|
void print_n2n_version() { |
|
|
void print_n2n_version() { |
|
|
printf("Welcome to n2n v.%s for %s\n" |
|
|
printf("Welcome to n2n v.%s for %s\n" |
|
|
"Built on %s\n" |
|
|
"Built on %s\n" |
|
|
"Copyright 2007-09 - http://www.ntop.org\n\n", |
|
|
"Copyright 2007-18 - ntop.org and contributors\n\n", |
|
|
n2n_sw_version, n2n_sw_osName, n2n_sw_buildDate); |
|
|
n2n_sw_version, n2n_sw_osName, n2n_sw_buildDate); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* *********************************************** */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Find the peer entry in list with mac_addr equal to mac.
|
|
|
/** Find the peer entry in list with mac_addr equal to mac.
|
|
|
* |
|
|
* |
|
|