diff --git a/keygen/keygen.c b/keygen/keygen.c index 84ccd19..6a62668 100644 --- a/keygen/keygen.c +++ b/keygen/keygen.c @@ -151,7 +151,7 @@ char *get_mac() { FILE * fp; char *mac = malloc(18* sizeof(char)); - fp = fopen("/sys/class/net/wifi0/address", "r"); + fp = fopen("/sys/class/net/wlan0/address", "r"); fgets(mac, 17, fp); fclose(fp); return mac; diff --git a/webpanel/includes/config.php b/webpanel/includes/config.php index c6c2e4a..d473529 100644 --- a/webpanel/includes/config.php +++ b/webpanel/includes/config.php @@ -1,7 +1,7 @@ '); -?> \ No newline at end of file +?>