Diff for /embedaddon/mpd/src/nat.h between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 23:32:47 version 1.1.1.3, 2021/03/17 00:39:23
Line 8 Line 8
 #ifndef _NAT_H_  #ifndef _NAT_H_
 #define _NAT_H_  #define _NAT_H_
   
   #include "command.h"
   #include "vars.h"
   
 #include <netgraph/ng_nat.h>  #include <netgraph/ng_nat.h>
   
 #ifdef NG_NAT_DESC_LENGTH  #ifdef NG_NAT_DESC_LENGTH
 /* max. number of red-port rules */  /* max. number of red-port rules */
#define NM_PORT         16#define NM_PORT         32
 /* max. number of red-addr rules */  /* max. number of red-addr rules */
 #define NM_ADDR         8  #define NM_ADDR         8
 /* max. number of red-proto rules */  /* max. number of red-proto rules */
Line 48 Line 51
  */   */
   
   extern const struct cmdtab    NatSetCmds[];    extern const struct cmdtab    NatSetCmds[];
   #ifdef NG_NAT_DESC_LENGTH
     extern const struct cmdtab    NatUnSetCmds[];
   #endif
   
   extern void   NatInit(Bund b);    extern void   NatInit(Bund b);
  extern int    NatStat(Context ctx, int ac, char *av[], void *arg);  extern int    NatStat(Context ctx, int ac, const char *const av[], const void *arg);
   
 #endif  #endif
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>