SCCS-vsn: sys/net/route.c 6.17
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)route.c 6.16 (Berkeley) %G%
+ * @(#)route.c 6.17 (Berkeley) %G%
- rtinit(dst, gateway, SIOCADDRT,
+ rtinit(dst, gateway, (int)SIOCADDRT,
(flags & RTF_HOST) | RTF_GATEWAY | RTF_DYNAMIC);
rtstat.rts_dynamic++;
return;
(flags & RTF_HOST) | RTF_GATEWAY | RTF_DYNAMIC);
rtstat.rts_dynamic++;
return;
* Changing from route to net => route to host.
* Create new route, rather than smashing route to net.
*/
* Changing from route to net => route to host.
* Create new route, rather than smashing route to net.
*/
- rtinit(dst, gateway, SIOCADDRT, flags | RTF_DYNAMIC);
+ rtinit(dst, gateway, (int)SIOCADDRT,
+ flags | RTF_DYNAMIC);
rtstat.rts_dynamic++;
} else {
/*
rtstat.rts_dynamic++;
} else {
/*