Skip to content

Commit

Permalink
Update init.c
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Jul 12, 2020
1 parent 07e5ec3 commit 2062047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release/src/router/rc/init.c
Expand Up @@ -9087,6 +9087,8 @@ int init_nvram2(void)

#ifdef RTAC1200GP
sprintf(friendly_name, "%s-%02X%02X", "RT-AC1200G", mac_binary[4], mac_binary[5]);
#elif defined(RTK3)
sprintf(friendly_name, "%s-%02X%02X", "RT-K3", mac_binary[4], mac_binary[5]);
#else
sprintf(friendly_name, "%s-%02X%02X", get_productid(), mac_binary[4], mac_binary[5]);
#endif
Expand Down

0 comments on commit 2062047

Please sign in to comment.