diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_sl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 3595b77..220e9ec 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -185,8 +185,14 @@ static int sloutput(struct ifnet *, static int slstart(struct tty *); static struct linesw slipdisc = { - slopen, slclose, l_noread, l_nowrite, - sltioctl, slinput, slstart, ttymodem + .l_open = slopen, + .l_close = slclose, + .l_read = l_noread, + .l_write = l_nowrite, + .l_ioctl = sltioctl, + .l_rint = slinput, + .l_start = slstart, + .l_modem = ttymodem }; /* |