Lines 106-111
Link Here
|
106 |
else |
106 |
else |
107 |
printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); |
107 |
printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); |
108 |
|
108 |
|
|
|
109 |
#ifdef PF_LOG_SOCKET_LOOKUP |
110 |
if (vflag && hdr->uid != UID_MAX) |
111 |
printf("[uid %u, pid %u] ", (unsigned)hdr->uid, |
112 |
(unsigned)hdr->pid); |
113 |
#endif |
114 |
|
109 |
printf("%s: %s %s on %s: ", |
115 |
printf("%s: %s %s on %s: ", |
110 |
tok2str(pf_reasons, "unkn(%u)", hdr->reason), |
116 |
tok2str(pf_reasons, "unkn(%u)", hdr->reason), |
111 |
tok2str(pf_actions, "unkn(%u)", hdr->action), |
117 |
tok2str(pf_actions, "unkn(%u)", hdr->action), |