summaryrefslogtreecommitdiff
path: root/src/conf_mode/dhcp_relay.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-08 18:51:54 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-08 18:51:57 +0100
commitf0084de554d71d0f011c7fd2c6009f1864bd9d77 (patch)
tree8f17526d4997780923b3f21bc7b29143ef8652d5 /src/conf_mode/dhcp_relay.py
parentec604ef88e2845bcd75070f6dff325ccc50873aa (diff)
downloadvyos-1x-f0084de554d71d0f011c7fd2c6009f1864bd9d77.tar.gz
vyos-1x-f0084de554d71d0f011c7fd2c6009f1864bd9d77.zip
T1234: add missing option when processing dhcp-relay packets
Diffstat (limited to 'src/conf_mode/dhcp_relay.py')
-rwxr-xr-xsrc/conf_mode/dhcp_relay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcp_relay.py b/src/conf_mode/dhcp_relay.py
index 1b2abed9e..73e0153df 100755
--- a/src/conf_mode/dhcp_relay.py
+++ b/src/conf_mode/dhcp_relay.py
@@ -95,7 +95,7 @@ def get_config():
#
# Available in DHCPv4 mode only:
if conf.exists('relay-agents-packets'):
- pkt = '-m ' + conf.return_value('relay-agents-packets')
+ pkt = '-a -m ' + conf.return_value('relay-agents-packets')
relay['options'].append(pkt)
return relay