Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146009259
D55548.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
481 B
Referenced Files
None
Subscribers
None
D55548.diff
View Options
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -502,10 +502,11 @@
div_output_inbound(int family, struct socket *so, struct mbuf *m,
struct sockaddr_in *sin)
{
- struct divcb *dcb;
+#if defined(INET) || defined(INET6)
+ struct divcb *dcb = so->so_pcb;
+#endif
struct ifaddr *ifa;
- dcb = so->so_pcb;
if (m->m_pkthdr.rcvif == NULL) {
/*
* No luck with the name, check by IP address.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 12:07 AM (3 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29044246
Default Alt Text
D55548.diff (481 B)
Attached To
Mode
D55548: divert: unbreak the LINT-NOIP build
Attached
Detach File
Event Timeline
Log In to Comment