Skip to content

Instantly share code, notes, and snippets.

@molind
Last active December 11, 2015 04:29
Show Gist options
  • Save molind/4545825 to your computer and use it in GitHub Desktop.
Save molind/4545825 to your computer and use it in GitHub Desktop.
patch to portmap. to make it accept all connections. find_local function won't work on my iconbit xds8003d media player.
--- from_local_orig.c 2013-01-16 12:18:24.043153963 +0300
+++ from_local.c 2013-01-01 15:48:58.758821567 +0300
@@ -152,6 +152,7 @@
int from_local(struct sockaddr_in *addr)
{
+ return (TRUE);
int i;
if (addrs == 0 && find_local() == 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment