diff options
author | Bjørn Mork <bjorn@mork.no> | 2011-09-24 20:45:03 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2011-09-25 14:31:24 +0200 |
commit | 3f2aa5b0dfa2e72930bf8d62da445e36d3cfcd3a (patch) | |
tree | 25f7da225a9f1e56fd5a93f5c77f6f81b80854a2 /relay/dhcrelay.8 | |
parent | 1e2c8407b40d4060407845c6f4e81dac8e5f39de (diff) |
dhcrelay: Add D6O_SUBSCRIBER_ID to DHCPv6 relayed packets
Adding D6O_SUBSCRIBER_ID as specified by RFC4580
The circuit_id field of interface_info is unused since the DHCPv6
relaying code has its own integer field for handling D6O_INTERFACE_ID
We reuse this for storing the subscriber id.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'relay/dhcrelay.8')
-rw-r--r-- | relay/dhcrelay.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/relay/dhcrelay.8 b/relay/dhcrelay.8 index c4115cb..1a0e90f 100644 --- a/relay/dhcrelay.8 +++ b/relay/dhcrelay.8 @@ -238,7 +238,7 @@ be silently ignored. Specifies the IANA allocated enterprise number to be used in REMOTE-ID options. Required for adding REMOTE-ID .TP --l [\fIaddress%\fR]\fIifname\fR[\fI#index\fR][\fI!remoteid\fR] +-l [\fIaddress%\fR]\fIifname\fR[\fI#index\fR][\fI!remoteid\fR][\fI&subscriberid\fR] Specifies the ``lower'' network interface for DHCPv6 relay mode: the interface on which queries will be received from clients or from other relay agents. At least one \fB-l\fR option must be included in the command @@ -248,7 +248,8 @@ if it isn't, dhcrelay will use the first non-link-local address configured on the interface unless configured for LDRA with the \fB-L\fR option. The optional \fI#index\fR parameter specifies the interface index. The optional \fI!remoteid\fR parameter specifies the ascii remote id value -(requires the \fB-e\fR option as well). +(requires the \fB-e\fR option as well). The optional \fI&subscriberid\fR +parameter enables adding a subscriber-id option. .TP -u [\fIaddress%\fR]\fIifname\fR Specifies the ``upper'' network interface for DHCPv6 relay mode: the |