Skip to content

Commit

Permalink
Update examples date
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jan 9, 2024
1 parent e499765 commit b57e7df
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion userland/examples/pcount.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ void printHelp(void) {
char errbuf[PCAP_ERRBUF_SIZE];
pcap_if_t *devpointer;

printf("pcount\n(C) 2003-23 ntop\n");
printf("pcount\n(C) 2003-24 ntop\n");
printf("-h Print help\n");
printf("-i <device> Device name\n");
printf("-f <filter> pcap filter\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfcount.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ void printDevs(u_int8_t json) {
/* *************************************** */

void printHelp(void) {
printf("pfcount - (C) 2005-23 ntop\n\n");
printf("pfcount - (C) 2005-24 ntop\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name. Use:\n"
" - ethX@Y for channels\n"
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfcount_multichannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void my_sigalarm(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfcount_multichannel\n(C) 2005-23 ntop\n\n");
printf("pfcount_multichannel\n(C) 2005-24 ntop\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name (No device@channel)\n");

Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfsend.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfsend - (C) 2011-23 ntop\n");
printf("pfsend - (C) 2011-24 ntop\n");
printf("Replay synthetic traffic, or a pcap, or a packet in hex format from standard input.\n\n");
printf("pfsend -i out_dev [-a] [-f <.pcap file>] [-g <core_id>] [-h]\n"
" [-l <length>] [-n <num>] "
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfsend_multichannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void my_sigalarm(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfcount_multichannel\n(C) 2005-23 ntop\n\n");
printf("pfcount_multichannel\n(C) 2005-24 ntop\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name (No device@channel)\n");
printf("-l <len> Packet length\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/pfwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfwrite - (C) 2003-23 ntop\n");
printf("pfwrite - (C) 2003-24 ntop\n");
printf("-h [Print help]\n");
printf("-i <device> [Device name]\n");
printf("-w <dump file> [Dump file path]\n");
Expand Down
2 changes: 1 addition & 1 deletion userland/examples/preflect.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void dummyProcesssPacket(u_char *_deviceId,

void printHelp(void) {

printf("preflect\n(C) 2010-23 ntop\n");
printf("preflect\n(C) 2010-24 ntop\n");
printf("-h [Print help]\n");
printf("-i <device> [In device name]\n");
printf("-o <device> [Out device name]\n");
Expand Down

0 comments on commit b57e7df

Please sign in to comment.