Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/register.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2443 by niro, Thu Sep 3 13:30:46 2015 UTC revision 2445 by niro, Thu Sep 3 13:36:12 2015 UTC
# Line 21  validate_client() Line 21  validate_client()
21   fi   fi
22    
23   decho "registering mac_address='${mac_address}'"   decho "registering mac_address='${mac_address}'"
24     decho "registering ip_address='${ip_address}'"
25    
26   # first check if mac is registered   # first check if mac is registered
27   serial=$(mysqldo "select serial from client_serials where mac='${mac_address}'")   serial=$(mysqldo "select serial from client_serials where mac='${mac_address}'")
# Line 42  validate_client() Line 43  validate_client()
43    
44   cmd+="quiet"   cmd+="quiet"
45   cmd+="register '${serial}'"   cmd+="register '${serial}'"
46   SSLSAY_IP="${IP}"   SSLSAY_IP="${ip_address}"
47   SSLSAY_PORT="6666"   SSLSAY_PORT="6666"
48   nsslsay_fingerprint ${cmd}   nsslsay_fingerprint ${cmd}
49    

Legend:
Removed from v.2443  
changed lines
  Added in v.2445