···92 * Set the source hardware address. 93 */9495- if(saddr)96- memcpy(eth->h_source,saddr,dev->addr_len);97- else98- memcpy(eth->h_source,dev->dev_addr,dev->addr_len);99100 /*101 * Anyway, the loopback-device should never use this function...
···92 * Set the source hardware address. 93 */9495+ if(!saddr)96+ saddr = dev->dev_addr;97+ memcpy(eth->h_source,saddr,dev->addr_len);09899 /*100 * Anyway, the loopback-device should never use this function...