lkml.org 
[lkml]   [1996]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 1.3.94 : if_arp.h
Date
> > -       unsigned char   ha[MAX_ADDR_LEN];       /* Hardware address */
> > + unsigned char ha[7]; /* Hardware address */
>
> Why not locally defining a constant? I don't like all these magic
> numbers.

The MAX_ADDR_LEN for headers, for network cards an for ARP must all agree
its not a local its a global. Dont make it a number



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:3.190 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site