No object change.
OK?
Index: show.c
===================================================================
RCS file: /cvs/src/sbin/route/show.c,v
retrieving revision 1.112
diff -u -p -r1.112 show.c
--- show.c 1 May 2018 18:13:21 -0000 1.112
+++ show.c 2 Jun 2018 22:55:26 -0000
@@ -140,7 +140,6 @@ p_rttables(int af, u_int tableid, char p
char *buf = NULL, *next, *lim = NULL;
size_t needed;
int mib[7], mcnt;
- struct sockaddr *sa;
mib[0] = CTL_NET;
mib[1] = PF_ROUTE;
@@ -164,7 +163,6 @@ p_rttables(int af, u_int tableid, char p
rtm = (struct rt_msghdr *)next;
if (rtm->rtm_version != RTM_VERSION)
continue;
- sa = (struct sockaddr *)(next + rtm->rtm_hdrlen);
p_rtentry(rtm);
}
}