Systemd/src/systemd
Clemens Gruber 77ff6022fa networkd: Add EmitRouter= option for DHCP Server (#3251)
Add an option to disable appending DHCP option 3 (Router) to the DHCP
OFFER and ACK packets.
This commit adds the boolean option EmitRouter= for the [DHCPServer]
section in .network files.

Rationale: On embedded devices, it is very useful to have a DHCP server
running on an USB OTG ethernet gadget interface to avoid manual setup on
the client PCs, but it should only serve IP addresses, no route(r)s.
Otherwise, Windows clients experience network connectivity issues, due
to them using the address set in DHCP option 3 as default gateway.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
2016-05-17 19:34:25 -04:00
..
_sd-common.h headers: use __inline__ instead of inline 2016-03-11 13:41:49 -05:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
sd-bus-protocol.h headers: remove commas at end of enum lists 2016-03-11 13:50:56 -05:00
sd-bus-vtable.h headers: remove commas at end of enum lists 2016-03-11 13:50:56 -05:00
sd-bus.h headers: remove commas at end of enum lists 2016-03-11 13:50:56 -05:00
sd-daemon.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-device.h include sys/sysmacros.h in more places 2016-03-14 23:29:10 -04:00
sd-dhcp-client.h sd-dhcp: change uint8_t *duid to const void* 2016-05-03 12:08:56 -04:00
sd-dhcp-lease.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-dhcp-server.h networkd: Add EmitRouter= option for DHCP Server (#3251) 2016-05-17 19:34:25 -04:00
sd-dhcp6-client.h sd-dhcp: change uint8_t *duid to const void* 2016-05-03 12:08:56 -04:00
sd-dhcp6-lease.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-event.h headers: remove commas at end of enum lists 2016-03-11 13:50:56 -05:00
sd-hwdb.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-id128.h headers: use __inline__ instead of inline 2016-03-11 13:41:49 -05:00
sd-ipv4acd.h libsystemd-network: sd-event uses 64bit priorities, expose them in the APIs as such 2016-02-20 22:42:29 +01:00
sd-ipv4ll.h libsystemd-network: sd-event uses 64bit priorities, expose them in the APIs as such 2016-02-20 22:42:29 +01:00
sd-journal.h sd-journal: "soft" deprecate sd_journal_open_container() 2016-04-25 19:29:01 +02:00
sd-lldp.h sd-lldp: minor whitespace fixes 2016-04-12 13:43:33 +02:00
sd-login.h Typo 2016-02-11 21:52:02 -05:00
sd-messages.h Remove systemd-bootchart 2016-02-23 13:30:09 +01:00
sd-ndisc.h libsystemd-network: sd-event uses 64bit priorities, expose them in the APIs as such 2016-02-20 22:42:29 +01:00
sd-netlink.h sd-netlink: introduce route attribute set API 2016-05-03 22:47:48 +05:30
sd-network.h networkd: rework how carrier bindings are serialized 2016-02-21 20:40:57 +01:00
sd-path.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-resolve.h libsystemd-network: sd-event uses 64bit priorities, expose them in the APIs as such 2016-02-20 22:42:29 +01:00
sd-utf8.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00