Skip to content

Instantly share code, notes, and snippets.

@d3x7ro
Created May 14, 2013 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d3x7ro/3d7ad16f864613023a99 to your computer and use it in GitHub Desktop.
Save d3x7ro/3d7ad16f864613023a99 to your computer and use it in GitHub Desktop.
--- chilli.c.orig 2013-05-13 19:11:44.477019372 -0700
+++ chilli.c 2013-05-13 19:14:27.784009176 -0700
@@ -2732,6 +2732,7 @@
#ifdef ENABLE_UAMUIPORT
|| ipph->sport == htons(_options.uamuiport)
#endif
+ || ipph->sport == htons(80)
))) {
if (chilli_acct_tosub(appconn, ipph))
return 0;
@@ -5617,6 +5618,7 @@
#ifdef ENABLE_UAMUIPORT
|| ipph->dport == htons(_options.uamuiport)
#endif
+ || ipph->dport == htons(80)
)) {
return tun_encaps(tun, pack, len, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment