Split SmartGatewayNAT into SmartGatewayAllowNAT and SmartGatewayUplinkNAT
[olsrd.git] / src / cfgparser / oscan.lex
index d42b870..3fe8a1a 100644 (file)
@@ -438,9 +438,9 @@ IPV6ADDR {IPV6PAT1}|{IPV6PAT2}|{IPV6PAT3}|{IPV6PAT4}|{IPV6PAT5}|{IPV6PAT6}|{IPV6
     return TOK_SMART_GW;
 }
 
-"SmartGatewayNAT" {
+"SmartGatewayAllowNAT" {
     yylval = NULL;
-    return TOK_SMART_GW_NAT;
+    return TOK_SMART_GW_ALLOW_NAT;
 }
 
 "SmartGatewayUplink" {
@@ -448,6 +448,11 @@ IPV6ADDR {IPV6PAT1}|{IPV6PAT2}|{IPV6PAT3}|{IPV6PAT4}|{IPV6PAT5}|{IPV6PAT6}|{IPV6
     return TOK_SMART_GW_UPLINK;
 }
  
+"SmartGatewayUplinkNAT" {
+    yylval = NULL;
+    return TOK_SMART_GW_UPLINK_NAT;
+}
 "SmartGatewaySpeed" {
     yylval = NULL;
     return TOK_SMART_GW_SPEED;