route prios. playing safe for 4.4-release, as not all parts of the system
deal correctly with route prios yet. ok claudio
-/* $OpenBSD: route.c,v 1.94 2008/07/28 13:25:10 claudio Exp $ */
+/* $OpenBSD: route.c,v 1.95 2008/08/01 05:08:07 henning Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
struct sockaddr_rtlabel *sa_rl;
#define senderr(x) { error = x ; goto bad; }
+ /* XXX hack for 4.4-release */
+ prio = RTP_DEFAULT;
+
if ((rnh = rt_gettable(info->rti_info[RTAX_DST]->sa_family, tableid)) ==
NULL)
senderr(EAFNOSUPPORT);
-/* $OpenBSD: rtsock.c,v 1.74 2008/07/28 19:38:07 claudio Exp $ */
+/* $OpenBSD: rtsock.c,v 1.75 2008/08/01 05:08:08 henning Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
else
prio = RTP_DEFAULT;
+ /* XXX hack for 4.4-release */
+ prio = RTP_DEFAULT;
+
bzero(&info, sizeof(info));
info.rti_addrs = rtm->rtm_addrs;
rt_xaddrs(rtm->rtm_hdrlen + (caddr_t)rtm, len + (caddr_t)rtm, &info);