diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-14 09:52:27 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-14 09:52:27 +0000 |
commit | d2088c987301043e5adabf301336b772e26f4fb5 (patch) | |
tree | 15644a2345729ab10b6608a3790f4a1dd288d347 /sys/net/if_mpe.c | |
parent | ba2e5af52d741397cb16517924af6926417af217 (diff) |
Use rtfree() instead of RTFREE(), NULLify some free'd route pointers and
kill the macro.
ok mikeb@, henning@
Diffstat (limited to 'sys/net/if_mpe.c')
-rw-r--r-- | sys/net/if_mpe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_mpe.c b/sys/net/if_mpe.c index d601111c899..0c0dedbd528 100644 --- a/sys/net/if_mpe.c +++ b/sys/net/if_mpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mpe.c,v 1.36 2014/10/07 08:59:50 mpi Exp $ */ +/* $OpenBSD: if_mpe.c,v 1.37 2014/10/14 09:52:25 mpi Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -186,7 +186,7 @@ mpestart(struct ifnet *ifp) sa->sa_family = AF_MPLS; mpls_output(rt->rt_ifp, m, sa, rt); - RTFREE(rt); + rtfree(rt); } } |