Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152850568
D27725.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
637 B
Referenced Files
None
Subscribers
None
D27725.id.diff
View Options
Index: sys/net/if_ethersubr.c
===================================================================
--- sys/net/if_ethersubr.c
+++ sys/net/if_ethersubr.c
@@ -287,7 +287,7 @@
char linkhdr[ETHER_HDR_LEN], *phdr;
struct ether_header *eh;
struct pf_mtag *t;
- int loop_copy = 1;
+ bool loop_copy;
int hlen; /* link layer header length */
uint32_t pflags;
struct llentry *lle = NULL;
@@ -357,7 +357,7 @@
update_mbuf_csumflags(m, m);
return (if_simloop(ifp, m, dst->sa_family, 0));
}
- loop_copy = pflags & RT_MAY_LOOP;
+ loop_copy = (pflags & RT_MAY_LOOP) != 0;
/*
* Add local net header. If no space in first mbuf,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 12:22 PM (2 m, 5 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31667915
Default Alt Text
D27725.id.diff (637 B)
Attached To
Mode
D27725: Remove not needed variable initialization
Attached
Detach File
Event Timeline
Log In to Comment