Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102617691
D40652.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
716 B
Referenced Files
None
Subscribers
None
D40652.diff
View Options
diff --git a/sbin/ipf/libipf/printfraginfo.c b/sbin/ipf/libipf/printfraginfo.c
--- a/sbin/ipf/libipf/printfraginfo.c
+++ b/sbin/ipf/libipf/printfraginfo.c
@@ -14,7 +14,6 @@
void
printfraginfo(char *prefix, struct ipfr *ifr)
{
- frentry_t fr;
int family;
PRINTF("%s", prefix);
@@ -25,14 +24,8 @@
PRINTF("inet");
family = AF_INET;
}
- fr.fr_flags = 0xffffffff;
PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src));
-/*
- if (kmemcpy((char *)&fr, (u_long)ifr->ipfr_rule,
- sizeof(fr)) == -1)
- return;
- */
PRINTF("%s id %x ttl %lu pr %d pkts %u bytes %u seen0 %d ref %d\n",
hostname(family, &ifr->ipfr_dst), ifr->ipfr_id,
ifr->ipfr_ttl, ifr->ipfr_p, ifr->ipfr_pkts, ifr->ipfr_bytes,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 9:16 PM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14648062
Default Alt Text
D40652.diff (716 B)
Attached To
Mode
D40652: libipf: Remove set but unused variable from printfraginfo().
Attached
Detach File
Event Timeline
Log In to Comment