Subject: Re: stripioctl: SIOCGIFMEDIA to blame
To: Jonathan O'Brien <obrien@phoenix.sfsu.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 11/09/1997 19:17:55
On Sun, 9 Nov 1997 19:06:23 -0800 (PST)
"Jonathan O'Brien" <obrien@phoenix.sfsu.edu> wrote:
> Which would be better, add a case for SIOCGIFMEDIA that returns
> EINVAL, or remove the DEBUG printf in if_strip.c?
stripioctl() should simply return EINVAL for _all_ ioctls it doens't
understand... i.e. in a default: case.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939