Compare commits

..

2 commits

Author SHA1 Message Date
NAStools
fb3e4fb68f Release v1.1.14-nt3 2016-12-09 10:22:03 -08:00
NAStools
784b1b95ff Clean up authtoken CGI 2016-12-09 10:20:28 -08:00
3 changed files with 15 additions and 5 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
zerotier-one (1.1.14-nt3) unstable; urgency=medium
* Clean up authtoken CGI
-- NAStools <dev@nas.tools> Fri, 09 Dec 2016 10:20:55 -0800
zerotier-one (1.1.14-nt2) unstable; urgency=medium
* Include UI from macOS client

View file

@ -3,14 +3,18 @@
int main() {
FILE *f;
char c;
char c[32];
f=fopen("/apps/nastools-zerotier-one/var/authtoken.secret","rt");
f=fopen("/apps/nastools-zerotier-one/var/authtoken.secret","r");
if(!f)
return 1;
printf("Content-Type: text/plain\n\n");
while ((c=fgetc(f))!=EOF)
printf("%c", c);
size_t ret = fread(c, 1, sizeof(c), f);
if(!ret)
return 1;
fwrite(c, ret, 1, stdout);
fclose(f);
return 0;

View file

@ -1,5 +1,5 @@
<Application resource-id="nastools-zerotier-one">
<Version>1.1.14-nt2</Version>
<Version>1.1.14-nt3</Version>
<MinFirmwareVer>6.6.0</MinFirmwareVer>
<Name>ZeroTier One NT</Name>
<Author>NAStools</Author>