Added missing declaration for argment specification at pr_rthdr(),
caused by my previous patch, sorry. Also, changed its var name from 'af' to 'wid_af', to avoid confusion with global var 'af'.
This commit is contained in:
parent
5e4614fe95
commit
49302f437a
@ -233,18 +233,19 @@ pr_family(af)
|
||||
* Print header for routing table columns.
|
||||
*/
|
||||
void
|
||||
pr_rthdr(af)
|
||||
pr_rthdr(wid_af)
|
||||
int wid_af;
|
||||
{
|
||||
int wid_dst, wid_gw;
|
||||
|
||||
wid_dst =
|
||||
#ifdef INET6
|
||||
af == AF_INET6 ? WID_DST6 :
|
||||
wid_af == AF_INET6 ? WID_DST6 :
|
||||
#endif
|
||||
WID_DST;
|
||||
wid_gw =
|
||||
#ifdef INET6
|
||||
af == AF_INET6 ? WID_GW6 :
|
||||
wid_af == AF_INET6 ? WID_GW6 :
|
||||
#endif
|
||||
WID_GW;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user