summaryrefslogtreecommitdiff
path: root/filter/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-08-13 20:25:05 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-08-13 20:32:02 +0200
commit00192d5ab88ff9eeccbc1bc10cb534976a56963d (patch)
tree5d2fdd4b734d716cab7598283f2a182e963ac49a /filter/config.Y
parentf8e8fcfabeb206287065f48e800743b0aa797cc2 (diff)
Implements proper setting of 'gw' route attribute.
Thanks to Sergey Popovich for the bugreport.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y1
1 files changed, 0 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 7f73b895..66234050 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -681,7 +681,6 @@ symbol:
static_attr:
FROM { $$ = f_new_inst(); $$->aux = T_IP; $$->a2.i = OFFSETOF(struct rta, from); $$->a1.i = 1; }
-
| GW { $$ = f_new_inst(); $$->aux = T_IP; $$->a2.i = OFFSETOF(struct rta, gw); $$->a1.i = 1; }
| NET { $$ = f_new_inst(); $$->aux = T_PREFIX; $$->a2.i = 0x12345678; /* This is actually ok - T_PREFIX is special-cased. */ }
| PROTO { $$ = f_new_inst(); $$->aux = T_STRING; $$->a2.i = 0x12345678; /* T_STRING is also special-cased. */ }