Age | Commit message (Collapse) | Author |
|
ifconfig if joinlist
OK stsp@
|
|
this fixes setting wpaprotos (e.g. enabling wpa1)
OK stsp@
|
|
OK stsp@
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
These were superseeded by 'vnetid' and 'parent' in june 2017 and will be
removed in the future.
"Looks right" deraadt, OK benno
|
|
ok dlg@
|
|
display of the currently configured txprio setting is added to the
encap line, since it's configuring something that affects the
population of an encapsulation header.
it also adds a txprio argument to ifconfig so the setting can be
changed to "payload", "packet", or a number between 0 and 7.
ok claudio@
|
|
correct lease is discovered/renewed and lease file is properly
updated.
Improves co-existance with new 'join' feature. Issues first noted and
many tests by anton@.
Many suggestions and tweaks from claudio@, stsp@, anton@.
ok claudio@ stsp@ anton@ phessler@
|
|
Original diff from phessler@. Many suggestions and tweaks from
claudio@, stsp@, anton@.
ok claudio@ stsp@ anton@ phessler@
|
|
do not cast the arguments unnecessarily, and always err() on failure.
an earlier diff just tweaking the v6 calls was oked by bluhm@ kn@ deraadt@
|
|
|
|
VALID_LLADDR, there is longer much point to VALID_LLADDR. Nuke it.
Just check for lladdr changes when LINK_STATUS_IS_UP().
|
|
the manpage was discussed with many
|
|
Zap trailing semicolon introduced with miko's cmdline_symset() leading to
unconditional err(3). Zap trailing tab while here.
|
|
|
|
stop ticking, end any partially emitted line with a "\n".
This will be used when dhclient is restarting itself due to events
beyond its control. e.g. new LLADDR
|
|
protocol timing.
|
|
0 and 4095 are reserved IDs as per 802.1Q and vlan(4), setting them will
fail.
OK denis
|
|
GRACE_SECONDS 3 inside tick_msg() and use that.
Reduces number of pointless variables used to perform the arithmetic,
making it more obvious what tick_msg() invocations are doing.
|
|
stop at ifi->startup_time + config->link_timeout for a while. So
just set that at startup and stop passing the fixed value to
tick_msg().
|
|
it reuses the toskeyword handling that ipv4 uses for setting the
tos field, which is equiavlent to traffic class.
ok florian@ denis@
|
|
for the interface's link information.
Makes the code easier to follow.
Suggestions and ok kn@
|
|
|
|
|
|
bounce the interface link state. We no longer bounce.
|
|
function prototypes.
|
|
changed" when it changes and "restarting" when the restart is actually
executed.
|
|
packets, routing socket messages and cancel any pending protocol
timeout.
Since >1 packet can be received from bpf at a time, don't process any
further buffered packets after one triggers a decision to exit or
a signal is received.
|
|
(and other lexers too)
This commit rectifies earlier change:
in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab, and a \ followed by newline should be ignored
(as a line continuation). compatible with the needs of hoststated
(which has the most strict quoted string requirements), and ifstated
(where one commonly does line continuations in strings).
OK deraadt@, OK millert@
|
|
Replace hardcoded 0 and implicit checks with enum as done in all other
use cases of `pfra_fback'. No object change.
OK sashan
|
|
if we ask for AF_INET6.
OK kn, deraadt
|
|
sockaddr_storage which is guarantee to be large enough, no need to
check ai_addrlen. We can also trust the resolver to give us a
sockaddr_in6 sized object if we ask for AF_INET6
OK kn, deraadt
|
|
Left behind in revision 1.225.
OK benno
|
|
With hints set appropiately and switching on address family, the actual
size of the socket address returned by getaddrinfo(3) and it's specified
length is guaranteed to match.
This is probably a leftover "from ping6 which was much more paranoid"
before merging it ping.
OK florian
|
|
OK job@
|
|
to unsigned int.
OK deraadt@
|
|
default, with read permissions.
report and fix provided by semarie@
OK deraadt@
|
|
unveil early on for the root filesystem.
|
|
so use unveil(2).
|
|
so if a problem is encountered with this the whole set needs backout
and study.
|
|
We were using spacing after ellipses in an inconsistent way in the
installer. Standardize on using "... " everywhere and take into account
the cursor position while we are waiting for the task to complete: the
cursor is now always positioned after the last dot, and the space is
added when displaying completion confirmation.
While there, also take cursor position into account in vfs_shutdown(),
and remove the extra leading space before ticks in dhclient.
OK deraadt@
|
|
Prompted by kn@
|
|
can be removed from struct mount.
As a result of this diff, arrays vfsname[] and vfsvars[] are indexed
by filesystem typenum. This makes the vfs_typenums[] array redundant.
OK bluhm@ mpi@
|
|
ok krw@ deraadt@ jca@
|
|
ok millert@ mpi@
|
|
Remove Tn macro to make mandoc lint happy.
requested by jmc@
|