artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53863d8
)
handle SIOCGLIFPHYTTL and say that the ttl is always "copied"
author
dlg
<dlg@openbsd.org>
Thu, 8 Feb 2018 21:55:34 +0000
(21:55 +0000)
committer
dlg
<dlg@openbsd.org>
Thu, 8 Feb 2018 21:55:34 +0000
(21:55 +0000)
sys/net/if_mobileip.c
patch
|
blob
|
history
diff --git
a/sys/net/if_mobileip.c
b/sys/net/if_mobileip.c
index
0eacbeb
..
38e740a
100644
(file)
--- a/
sys/net/if_mobileip.c
+++ b/
sys/net/if_mobileip.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_mobileip.c,v 1.
3 2018/02/07 06:02:01
dlg Exp $ */
+/* $OpenBSD: if_mobileip.c,v 1.
4 2018/02/08 21:55:34
dlg Exp $ */
/*
* Copyright (c) 2016 David Gwynne <dlg@openbsd.org>
@@
-389,6
+389,10
@@
mobileip_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
error = mobileip_del_tunnel(sc);
break;
+ case SIOCGLIFPHYTTL:
+ ifr->ifr_ttl = -1;
+ break;
+
case SIOCSLIFPHYRTABLE:
if (ISSET(ifp->if_flags, IFF_RUNNING)) {
error = EBUSY;