summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-08 18:51:54 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-25 18:25:06 +0100
commit80f378c62b46b6405047c658d96e98542b21f773 (patch)
tree4c62fcac437471fe4e3f5d3b11b923b22acbbc3d
parentb39a444c787a60f16e52b7c27cc09aab2e39cbf4 (diff)
downloadvyos-1x-80f378c62b46b6405047c658d96e98542b21f773.tar.gz
vyos-1x-80f378c62b46b6405047c658d96e98542b21f773.zip
T1234: add missing option when processing dhcp-relay packets
(cherry picked from commit f0084de554d71d0f011c7fd2c6009f1864bd9d77)
-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