summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 3c50469..55eb2d0 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -972,7 +972,7 @@ rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate)
if (old) {
Bcopy(dst, new, dlen);
Free(old);
- dst = gate = 0; /* XXX??? */
+ old = 0;
}
/*
OpenPOWER on IntegriCloud