Skip to content

Instantly share code, notes, and snippets.

@zliuva
Last active October 22, 2023 21:57
Show Gist options
  • Save zliuva/122b8a56101433c932fed6c47dda22dc to your computer and use it in GitHub Desktop.
Save zliuva/122b8a56101433c932fed6c47dda22dc to your computer and use it in GitHub Desktop.
$ diff ddclient-ubnt.bak ddclient-ubnt
4252,4253c4252
< my $headers = "X-Auth-Email: $config{$key}{'login'}\n";
< $headers .= "X-Auth-Key: $config{$key}{'password'}\n";
---
> my $headers = "Authorization: Bearer $config{$key}{'password'}\n";
@zliuva
Copy link
Author

zliuva commented Oct 22, 2023

Patching ddclient in EdgeOS to support Cloudflare API tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment