summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2006-06-01Revert last commit. Modifing a interface does a remove and then an add.Claudio Jeker
We need to figure out a better way to fix this. Brought up by markus@ OK beck@
2006-06-01ifconfig should be either deleting an interface address, or adding one in oneBob Beck
invocation, not both. This change ensures that a delete does not also do an add. Fixes stupid problem where deleting the last address with ifconfig delete addr worked differently than ifconfig addr delete where the first way would re-add an address of 0.0.0.0/0 after deleting the address. ok claudio@, krw@
2006-05-17various fixes;Jason McIntyre
2006-05-17implement support for sppp(4) in ifconfig. have a look at the updatedReyk Floeter
manual pages pppoe(4) and sppp(4) for examples. the spppcontrol(8) utility is not required anymore and will probably be removed in the near future. ok deraadt@
2006-04-12add a few words about how groups of interfaces can be used.Alexandre Anriot
help and ok henning@ jmc@
2006-03-23Print the lladdr on carp interfaces.Ryan Thomas McBride
ok henning@
2006-03-21Correctly check for the end of the cmds table. There is no need to check forClaudio Jeker
c_func2. Until now ifconfig accepted something like ifconfig tun0 1.2.3.4 1.2.3.5 foobar without error. Additionally change the error message to a more comprehensible message. OK markus@, henning@
2006-03-20Don't increment a pointer *before* testing it for NULLDavid Hill
ok deraadt@
2006-02-21improvements from claudio:Jason McIntyre
- note that "-alias" is a synonym for "delete", and encourage the latter - make the description of "delete" clearer ok claudio
2006-02-20bit more consistent...Jason McIntyre
2006-02-20- note that "deletetunnel" is for gif(4) and gre(4) devices onlyJason McIntyre
- remove some redundant text from "deletetunnel" description help/ok claudio
2006-01-06put the description of vlanprio in the correct place;Jason McIntyre
2006-01-05Make it possible to set a default vlan priority to a vlan interface.Esben Norby
ok claudio@ brad@
2005-12-29mention the keywords "wireless network interface" for the -M switch;Reyk Floeter
consistency with other 802.11-specific commands descriptions. thanks to Andreas Bihlmaier
2005-11-28do not overflow ifr.ifr_addr; ok mpf, henning, hshoexer, deraadtMarkus Friedl
2005-11-15add "-description" to usage();Jason McIntyre
ok henning@
2005-11-14add -descr / -description to clear the interface description, noticed toddHenning Brauer
2005-11-01missing freeaddrinfo(); maticd@gmail.comTheo de Raadt
2005-10-10getifaddrs() slightly later in printif(), prevents possible memleakHenning Brauer
Andrey Matveev <evol@online.ptt.ru>
2005-10-03print all trunk flagsReyk Floeter
ok brad@
2005-09-21put description of `dest_address' in the right place;Jason McIntyre
ok deraadt@
2005-09-15Clean up compilation with -Wall, okay deraadt@Pedro Martelletto
From: Leonardo Chiquitto Filho <leonardo@iken.com.br>
2005-08-10print session time in fixed widthNikolay Sturm
ok henning, deraadt
2005-06-24err -> errxJolan Luff
2005-06-23iface description is not an array of ptr but rather just a string; jcs@ okMichael Shalayeff
2005-06-14use "egress" instead of "external" for the interface group containing theHenning Brauer
interfaces the default route(s) point to, proposed deraadt some days ago, ok djm deraadt
2005-06-12let 'ifconfig <group>' work, displaying all the interfaces which are memberHenning Brauer
of the given group, markus ok
2005-06-09note that nwid and essid are synonymous;Jason McIntyre
from walter goulet and clarified by reyk@
2005-06-08netns crap i missed earlier... damn unreliable toolsHenning Brauer
2005-06-07move description of the default groups to the ifconfog manpageHenning Brauer
netintro should only give an intro, not the glory details :) theo ok
2005-05-31tidy up the trunk stuff;Jason McIntyre
2005-05-26remove hiding of interface family groupsHenning Brauer
2005-05-26disallow interface group names that end in a digit to differentiate them fromMike Frantzen
true interfaces ok henning@
2005-05-25add ifconfig -M option to replace wicontrol -L and -l for ap scanningReyk Floeter
and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
2005-05-24support trunk stacking (trunks as trunk ports) and some fixesReyk Floeter
ok brad@
2005-05-24initial import of a trunking (link aggregation and link failover)Reyk Floeter
implementation. it currently supports round robin mode with link state checking, additional modes will be added later. ok brad@, deraadt@
2005-05-22rewrite the interface groups printing code:Henning Brauer
don't rely on the interface's driver-name based group to be the first in the list don't rely on one group == only default one do not print the "all" group don't segfault on interfaces with no group at all ok mcbride
2005-04-15Inconsistency between man page and code, spotted by joel@Christopher Pascoe
2005-04-14shave off a few bytes, alpha floppies fit again nowHenning Brauer
2005-04-12lladdr w/o colon; ok henningMarkus Friedl
2005-04-11Handle getnameinfo failure. OK nialloChad Loder
2005-04-04print lladdr instead of address; pointed out by a fewTheo de Raadt
2005-03-30slightly reword lladdr description for clarity/readability;Jason McIntyre
2005-03-30add lladdr command to ifconfig to set MAC address. diffs from freebsd viaTed Unangst
Kyunghwan KIM (prs 2117 and 2118) and Fredrik Widlund. ok deraadt
2005-02-15`tunnel' before `txpower' in the command list;Jason McIntyre
2005-02-15add txpower support to ifconfigReyk Floeter
ok bob@ robert@ danh@ and others
2005-01-20Document syncif->syncdev change. Also fix order of syncdev optionRyan Thomas McBride
in ifconfig manpage.
2005-01-20Use syncdev instead of syncif in ifconfig, and modify ioctl struct pfsyncreqRyan Thomas McBride
in kernel code to match. Brings pfsync in line with carp, vlan and pppoe devices. Old syncif and -syncif options still work, will be removed later. ok markus@
2005-01-18Print configured timeslot mask for PDH/TDM interfaces.Claudio Jeker
OK deraadt@
2005-01-18Don't shift the timeslot map so that timeslot 1 ends in bit 0. E1 may needClaudio Jeker
to specify timeslot 0 and it is more intuitive. From alex@ Ok deraadt@