Compare commits

..

No commits in common. "master" and "readynas/1.1.14-nt2" have entirely different histories.

3 changed files with 5 additions and 15 deletions

6
debian/changelog vendored
View file

@ -1,9 +1,3 @@
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 zerotier-one (1.1.14-nt2) unstable; urgency=medium
* Include UI from macOS client * Include UI from macOS client

View file

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

View file

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