/* List all proxies. */
for (px = proxies_list; px; px = px->next) {
+ if (px->cap & PR_CAP_INT)
+ continue;
lua_pushstring(L, px->id);
hlua_fcn_new_proxy(L, px);
lua_settable(L, -3);
/* List all proxies. */
for (px = proxies_list; px; px = px->next) {
- if (!(px->cap & PR_CAP_FE))
+ if (!(px->cap & PR_CAP_FE) || (px->cap & PR_CAP_INT))
continue;
lua_pushstring(L, px->id);
hlua_fcn_new_proxy(L, px);
/* List all proxies. */
for (px = proxies_list; px; px = px->next) {
- if (!(px->cap & PR_CAP_BE))
+ if (!(px->cap & PR_CAP_BE) || (px->cap & PR_CAP_INT))
continue;
lua_pushstring(L, px->id);
hlua_fcn_new_proxy(L, px);