Common subdirectories: sl/src and sl2.0/src Common subdirectories: sl/sys and sl2.0/sys Common subdirectories: sl/src/etc and sl2.0/src/etc Common subdirectories: sl/src/ucb and sl2.0/src/ucb diff -r sl/src/etc/slattach.c sl2.0/src/etc/slattach.c 84,95c84 < #ifdef sun < /* This crap is necessary because sun changed the ioctl < * handling so that SIOCSIFDSTADDR ONLY gets handed the < * value of ifr_data, not the whole ifr structure < * like any sane implementation would. This is clearly < * a mistake on their part. < * Fortunately, sizeof (caddr_t) == sizeof(sin.sin_addr.s_addr) < * if it's not on your machine, you lose. < */ < getaddr(argv[3], &sin); < ifr.ifr_data = (caddr_t)sin.sin_addr.s_addr; < #else vax --- > 97c86 < #endif vax --- > Common subdirectories: sl/src/ucb/netstat and sl2.0/src/ucb/netstat Common subdirectories: sl/sys/net and sl2.0/sys/net Common subdirectories: sl/sys/sys and sl2.0/sys/sys Common subdirectories: sl/sys/vaxif and sl2.0/sys/vaxif diff -r sl/sys/vaxif/if_sl.c sl2.0/sys/vaxif/if_sl.c 40c40 < #include "../vax/mtpr.h" --- > /* #include "../vax/mtpr.h" */ 63c63 < #define T_LINEP t_nlines --- > #define T_LINEP t_linep 101,103c101 < #ifdef sun < tp->T_LINEP = (int)sc; < #else vax --- > 105c103 < #endif vax --- > 341,343c339 < #ifdef sun < struct sockaddr_in SIN; < #endif sun --- > 422c418 < zsparam(minor(tp->t_dev)); --- > zsparam(tp); 434,439c430 < /* This is horrible, but they leave me little choice */ < bzero((caddr_t)&SIN, sizeof(struct sockaddr_in)); < SIN.sin_addr.s_addr = (u_long)data; < SIN.sin_family = AF_INET; /* so much for other families... */ < sin = &SIN; < ifp->if_dstaddr = *(struct sockaddr *)sin; --- > ifp->if_dstaddr = *(struct sockaddr *)data;