Another V_ forgotten
This commit is contained in:
parent
576c43c844
commit
b53c8130e5
@ -265,7 +265,7 @@ ip_init(void)
|
||||
NULL, EVENTHANDLER_PRI_ANY);
|
||||
|
||||
/* Initialize various other remaining things. */
|
||||
ip_id = time_second & 0xffff;
|
||||
V_ip_id = time_second & 0xffff;
|
||||
ipintrq.ifq_maxlen = ipqmaxlen;
|
||||
mtx_init(&ipintrq.ifq_mtx, "ip_inq", NULL, MTX_DEF);
|
||||
netisr_register(NETISR_IP, ip_input, &ipintrq, 0);
|
||||
|
@ -243,7 +243,7 @@ ip_newid(void)
|
||||
if (V_ip_do_randomid)
|
||||
return ip_randomid();
|
||||
|
||||
return htons(ip_id++);
|
||||
return htons(V_ip_id++);
|
||||
}
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
@ -161,6 +161,7 @@
|
||||
#define V_ip_defttl ip_defttl
|
||||
#define V_ip_do_randomid ip_do_randomid
|
||||
#define V_ip_gif_ttl ip_gif_ttl
|
||||
#define V_ip_id ip_id
|
||||
#define V_ip_keepfaith ip_keepfaith
|
||||
#define V_ip_mrouter ip_mrouter
|
||||
#define V_ip_rsvp_on ip_rsvp_on
|
||||
|
Loading…
Reference in New Issue
Block a user