Ticket #21225: patch-record.c.diff
File patch-record.c.diff, 465 bytes (added by hsivank@…, 15 years ago) |
---|
-
record.c
old new 65 65 tm = localtime(&rec->time); 66 66 strftime(tstr, sizeof(tstr), "%x %X", tm); 67 67 68 srcp = libnet_ host_lookup(rec->src, Opt_dns);69 dstp = libnet_ host_lookup(rec->dst, Opt_dns);68 srcp = libnet_addr2name4(rec->src, Opt_dns); 69 dstp = libnet_addr2name4(rec->dst, Opt_dns); 70 70 71 71 if ((pr = getprotobynumber(rec->proto)) == NULL) 72 72 protop = "unknown";