diff --git a/README.md b/README.md index e661ce4..037572c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ fsipd is a minimal SIP honeypot. It listens on TCP/UDP 5060 and logs all incomin Incoming packets are logged in CSV format in "fsipd.log". Log format is described below: -`epoch, protocol, src ip, src port, "message"` +`epoch timestamp, protocol, src ip, src port, "message"` example: diff --git a/fsipd.c b/fsipd.c index b99f077..b5afb35 100644 --- a/fsipd.c +++ b/fsipd.c @@ -128,6 +128,7 @@ process_request(const struct sockaddr_in *sa, int type, char *str) break; case SOCK_RAW: ptype = s_types[2]; + break; default: ptype = s_types[3];; }