summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2006-09-30Don't use uninitialized variable.Ray Lai
From Peter Philipp <peter underscore philipp at freenet dot de>. OK deraadt@.
2006-08-29allow a numeric argument to "carpdemote" to in-/decrease the demotionHenning Brauer
counter by more than one. manpage help by jmc, ok mcbride mpf deraadt
2006-08-18make non-root -M use not cut ifconfig output; ok jsgTheo de Raadt
2006-08-02remove trailing blanks in output of ieee80211_status() as well.Alexander von Gernler
help from claudio@, and ok claudio@ mickey@ mpf@
2006-07-25ifconfig output contained trailing whites in inet and groups: linesAlexander von Gernler
fix that by rearranging spaces in printf format strings ok claudio@ mpf@ mickey@
2006-06-27consistency fix and clip some trailing whitespace;Jason McIntyre
2006-06-27knfReyk Floeter
2006-06-27add the net80211 hostap options "nwflag hidenwid" for hidden SSID modeReyk Floeter
and "nwflag nobridge" to prevent inter-station communications. "hidenwid" will also work with wi(4) to replace the old -E 3 option of wicontrol. ok damien@ jmc@
2006-06-23allow ifconfig to print the signal quality of the current ap. if theReyk Floeter
driver reports a RSSI Max value, print the signal quality as a percentage instead of the arbitrary "dB" value, this also applies to the output of ifconfig -M (scan/node list). ok damien@ jsg@
2006-06-23-M clarity, ok jmc@Todd T. Fries
2006-06-22oops! i put -M in the wrong place;Jason McIntyre
2006-06-15unused variable, spotted by pedroTheo de Raadt
2006-06-14unused var, wrong check for too many keys; mrd@alkemio.orgTheo de Raadt
2006-06-12- make the sub-sections a little more consistent in namingJason McIntyre
- clarify what sppp is (from reyk)
2006-06-12- add the sppp options to pppoe's synopsisJason McIntyre
- for pppoe, note that it uses the sppp framework, and point to the sppp section for a description of those options - for sppp, avoid referring specifically to sppp devices, as other devices, such as pppoe, may be using these options this after some discussion with reyk
2006-06-11simplify usage(); ok krw deraadtJason McIntyre
2006-06-11options are optional ;)Jason McIntyre
2006-06-11split this page up into sections: it was getting too messy to read;Jason McIntyre
feedback/ok deraadt beck krw
2006-06-03better synopsis for -g; ok mpfJason McIntyre
2006-06-03groups are specified using -g, not -m; ok mpfJason McIntyre
2006-06-03Do not set newaddr to 1 if "delete" was specified beforhands. In this caseClaudio Jeker
doalias is < 0. This fixes the problem where ifconfig em0 delete 10.0.0.1 created a 0.0.0.0/0 route entry and created a total mess because of that. Diff from markus@ OK beck@ markus@
2006-06-03kill trailing whitespace;Jason McIntyre
2006-06-02Introduce attributes to interface groups.Marco Pfatschbacher
As a first user, move the global carp(4) demotion counter into the interface group. Thus we have the possibility to define which carp interfaces are demoted together. Put the demotion counter into the reserved field of the carp header. With this, we can have carp act smarter if multiple errors occur. It now always takes over other carp peers, that are advertising with a higher demote count. As a side effect, we can also have group failovers without the need of running in preempt mode. The protocol change does not break compability with older implementations. Collaborative work with mcbride@ OK mcbride@, henning@
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