Another V_ forgotten

This commit is contained in:
Julian Elischer 2008-08-25 05:49:16 +00:00
parent 576c43c844
commit b53c8130e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182146
3 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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 */

View File

@ -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