summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-16 12:29:19 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-16 12:29:19 +0000
commite2233471d26dbc4873aac0e003bca50a13ee6e05 (patch)
tree1c3f55926a277b4dea5b5319e5167f9478b4bd3c /sys/net
parent2a3648c202d647cecf6c94e2dd5e064219387e00 (diff)
Replace the misleading SIOC{G,S}IFGENERIC ioctls by SIOCG{G,S}PPPPARAMS.
This is another ABI break but no port rely on them as verified by naddy@. ok claudio@, mikeb@, henning@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index b31cfcc815c..5a898affee4 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.106 2013/07/15 13:30:37 mpi Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.107 2013/08/16 12:29:18 mpi Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -1129,11 +1129,11 @@ sppp_ioctl(struct ifnet *ifp, u_long cmd, void *data)
case SIOCDELMULTI:
break;
- case SIOCGIFGENERIC:
+ case SIOCGSPPPPARAMS:
rv = sppp_get_params(sp, ifr);
break;
- case SIOCSIFGENERIC:
+ case SIOCSSPPPPARAMS:
rv = sppp_set_params(sp, ifr);
break;