Untitled

C++ Detected boxlabs 18 Views Size: 253 bytes Posted on: Sep 15, 25 @ 6:13 PM
  1. 1size_t ipv4_len = 0;
  2. 2if (is_ipv4_prefix(host, &ipv4_len)) {
  3. 3 // Cloak the entire IPv4 prefix
  4. 4 ircd_snprintf(0, result, HOSTLEN, "%s-%X", PREFIX, alpha);
  5. 5 strncat(result, host + ipv4_len, HOSTLEN - strlen(result) - 1);
  6. 6 return result;
  7. 7}

Raw Paste

Comments 0
Login to post a comment.
  • No comments yet. Be the first.
Login to post a comment. Login or Register
We use cookies. To comply with GDPR in the EU and the UK we have to show you these.

We use cookies and similar technologies to keep this website functional (including spam protection via Google reCAPTCHA), and — with your consent — to measure usage and show ads. See Privacy.