Kinsey Moore started a new discussion on rtemslwip/greth/greth_lwip.c: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149326

 >  
 >    for ( index = 0; index < netif->hwaddr_len; index++ ) {
 >      if ( index ) {
 > -      macStr[ outindex++ ] = ':';
 > +      mac_string[ outindex++ ] = ':';
 >      }
 >      ch = ( netif->hwaddr[ index ] >> 4 );
 > -    macStr[ outindex++ ] = ( ch < 10 ) ? ( ch + '0' ) : ( ch - 10 + 'A' );
 > +    mac_string[ outindex++ ] = ( ch < 10 ) ? ( ch + '0' ) : ( ch - 10 + 'A' 
 > );
 >      ch = ( netif->hwaddr[ index ] & 0xf );
 > -    macStr[ outindex++ ] = ( ch < 10 ) ? ( ch + '0' ) : ( ch - 10 + 'A' );
 > +    mac_string[ outindex++ ] = ( ch < 10 ) ? ( ch + '0' ) : ( ch - 10 + 'A' 
 > );
 >    }
 > -  macStr[ outindex ] = 0;
 > +  mac_string[ outindex ] = 0;
 >  }

This is purely a renaming and formatting change except for the type change. 
This can go in the formatting commit or a renaming commit except for the type 
change.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149326
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to