Commit 262a62f3 authored by Ben Avison's avatar Ben Avison
Browse files

Minor changes required in order to build with cc 5.55.

Tagged as 'Internet-5_43a'
parent 540839dd
......@@ -406,7 +406,7 @@ int ifconfig(int argc, char *argv[], int af, struct afswtch *rafp,
#define DSTADDR 3
void setifaddr(char *addr, short param)
void setifaddr(char *addr, int param)
* Delay the ioctl to set the interface addr until flags are all set.
......@@ -475,8 +475,9 @@ void setifdstaddr(char *addr, int param)
(*afp->af_getaddr)(addr, DSTADDR);
void setifflags(char *vname, short value)
void setifflags(char *vname, int value)
value = (short) value;
if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) {
Perror("ioctl (SIOCGIFFLAGS)");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment