Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix IPv6 address checking (#516319) | Bill Nottingham | 2009-08-10 | 2 | -1/+2 |
| | |||||
* | Remove very obsolete file. | Bill Nottingham | 2009-07-29 | 1 | -40/+0 |
| | |||||
* | Various ipdates to ipcalc to make it more useful. | Victor Lowther | 2009-07-29 | 1 | -27/+42 |
| | | | | | | | | 0 is a perfectly good prefix length. All the cool default routes use it. Autodetect if we are passed an IPv6 address and shift modes accordingly. Check prefixes as well as addresses when checking for validity. | ||||
* | More tests. | Bill Nottingham | 2009-07-29 | 1 | -0/+4 |
| | |||||
* | More tests. | Bill Nottingham | 2009-07-29 | 1 | -23/+30 |
| | |||||
* | Add some simple regression tests for ipcalc | Bill Nottingham | 2009-07-29 | 2 | -0/+89 |
| | | | | Adapted from tests from Matej Susta <msusta@redhat.com>. | ||||
* | Expand get_hostname() function to support IPv4 and IPv6. | David Cantrell | 2009-03-19 | 1 | -7/+29 |
| | | | | | Make sure that get_hostname() if the user specifies either address family. | ||||
* | Remove unnecessary tab. | David Cantrell | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Correct address family option handling in ipcalc. | David Cantrell | 2009-03-19 | 1 | -42/+41 |
| | | | | | Make sure the default is IPv4. If the check option is specified, make sure we just validate the address and return 1 or 0. | ||||
* | Compile ipcalc with _GNU_SOURCE defined (for asprintf). | David Cantrell | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Man page updates for ipcalc(1) | David Cantrell | 2009-03-19 | 2 | -7/+23 |
| | | | | | Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name. | ||||
* | Add a address check capability for IPv4 and IPv6 addresses. | David Cantrell | 2009-03-19 | 1 | -0/+42 |
| | | | | | | | | | | | | | Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix). | ||||
* | Use asprintf() rather than malloc() and sprintf(). | David Cantrell | 2009-03-19 | 1 | -3/+6 |
| | | | | | Use asprintf() for conversion and abort on memory allocation failures. | ||||
* | Use inet_ntop() and inet_pton() | David Cantrell | 2009-03-19 | 1 | -5/+27 |
| | | | | | The inet_ntoa() and inet_aton() functions are deprecated and limited to AF_INET only. | ||||
* | Use 'struct in_addr' for IPv4 addresses. | David Cantrell | 2009-03-19 | 1 | -44/+54 |
| | | | | | Change from using uint32_t to struct in_addr for IPv4 addresses. Get rid of the IPBITS and IPBYTES macros. | ||||
* | Whitespace cleanups for src/ipcalc.c | David Cantrell | 2009-03-19 | 1 | -135/+130 |
| | | | | Consistently use 4 spaces for indentation throughout ipcalc.c | ||||
* | Add an option for consoletype to always return 0. | Bill Nottingham | 2009-03-17 | 2 | -3/+8 |
| | | | | | This allows tcsh -e to work, with lang.sh. It's a hack, but there really isn't a better way to solve it. | ||||
* | loadkeys has a -q option for silent running. Use it. | Bill Nottingham | 2009-02-26 | 1 | -6/+6 |
| | |||||
* | Don't re-init an existing device, it causes errors. (#484411, ↵ | Bill Nottingham | 2009-02-06 | 1 | -1/+1 |
| | | | | <jpayne@redhat.com>) | ||||
* | Make rename_device much faster in the presence of many devices (#480687, ↵ | Bill Nottingham | 2009-01-19 | 1 | -73/+19 |
| | | | | <danms@us.ibm.com>) | ||||
* | Fix setting of console font/map (#458362, <ak@sensi.org>) | Bill Nottingham | 2008-10-06 | 1 | -6/+11 |
| | | | | Don't explicitly pass -u none or -m none; just pass them if one is set. | ||||
* | No need to wait here. <arjan@infradead.org> | Bill Nottingham | 2008-07-10 | 1 | -2/+0 |
| | | | | Untracked files: | ||||
* | Remove old dead stuff. | Bill Nottingham | 2008-06-20 | 8 | -1448/+0 |
| | |||||
* | Support SYSFONTACM correctly, and support UNIMAP (#448704, ↵ | Bill Nottingham | 2008-06-19 | 1 | -4/+10 |
| | | | | <vvv+fedora@colocall.net>) | ||||
* | Add a 'securetty' command that frobs /etc/securetty. Call it from the serial ↵ | Bill Nottingham | 2008-04-03 | 2 | -1/+99 |
| | | | | event. (#437381) | ||||
* | ispeed/ospeed don't exist on all platforms. Use accessor functions. | Bill Nottingham | 2008-03-25 | 1 | -1/+1 |
| | |||||
* | handle non-16550 serial ports, somewhat (<dwmw2@infradead.org>) | Bill Nottingham | 2008-03-19 | 1 | -1/+24 |
| | |||||
* | always open with NONBLOCK, clear the serial structs first ↵ | Bill Nottingham | 2008-03-19 | 1 | -1/+4 |
| | | | | (<dwmw2@infradead.org>) | ||||
* | Improve performance of s390 ccw rules (#437110, <mernst@de.ibm.com>) | Bill Nottingham | 2008-03-13 | 1 | -6/+7 |
| | |||||
* | Add a helper that checks for serial and serial-like consoles | Bill Nottingham | 2008-03-10 | 2 | -1/+156 |
| | | | | | This works by doing checks from udev that emit upstart events. upstart listens to these events and starts a getty if needed. | ||||
* | Add console_init udev helper. | Bill Nottingham | 2008-02-26 | 2 | -1/+169 |
| | | | | | | | | | | | | This helper: - sets the keyboard mode - sets the console mode - sets the console font - sets the keyboard map based on configuration in /etc/sysconfig/keyboard and /etc/sysconfig/i18n. This allows us to remove various cruft from rc.sysinit and /etc/profile.d/lang.sh. | ||||
* | add patch from rhel5 (#351291) | Bill Nottingham | 2008-01-09 | 1 | -2/+15 |
| | |||||
* | just suggest an interface name, don't do actual renaming | Bill Nottingham | 2007-10-05 | 1 | -86/+3 |
| | |||||
* | fix it for 64-bit systems (#306811) | Bill Nottingham | 2007-09-26 | 1 | -1/+1 |
| | |||||
* | fix open() call | Bill Nottingham | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | require popt in /lib*, link it dynamically | Bill Nottingham | 2007-08-29 | 1 | -5/+5 |
| | |||||
* | more verbose error codes | Harald Hoyer | 2007-08-08 | 1 | -13/+90 |
| | |||||
* | license cleanup | Bill Nottingham | 2007-08-03 | 12 | -43/+113 |
| | |||||
* | drop user gid (#229372) | Bill Nottingham | 2007-04-19 | 1 | -0/+2 |
| | |||||
* | fix man page formatting (<esr@thyrsus.com>) | Bill Nottingham | 2007-02-07 | 1 | -1/+1 |
| | |||||
* | reset alarm on connection so that ppp-watch remains running when | Bill Nottingham | 2007-01-17 | 1 | -0/+1 |
| | | | | ONBOOT=yes (#216749) | ||||
* | add a step to rename any temporarily renamed devices (#208740, | Bill Nottingham | 2006-11-28 | 1 | -2/+29 |
| | | | | #204803, #214817) | ||||
* | I can't count | Bill Nottingham | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | more subchannels fixing (#204803) | Bill Nottingham | 2006-10-30 | 1 | -13/+48 |
| | |||||
* | use SUBCHANNELS as the primary key for s390 network devices (#204803) | Bill Nottingham | 2006-10-26 | 1 | -0/+21 |
| | |||||
* | move ccwgroup initialization to a udev rule (#199139, #199655, #169161) | Bill Nottingham | 2006-09-27 | 2 | -0/+43 |
| | |||||
* | reset DEVPATH when renaming (#206884, <phil@fifi.org>) | Bill Nottingham | 2006-09-18 | 1 | -0/+1 |
| | |||||
* | name it something more obvious as a temporary device | Bill Nottingham | 2006-09-15 | 1 | -1/+1 |
| | |||||
* | don't loop if there are multiple devices with the same hwaddr (#199242, ↵ | Bill Nottingham | 2006-07-19 | 1 | -6/+13 |
| | | | | <markmc@redhat.com>) | ||||
* | fix manpage ref (#198756) | Bill Nottingham | 2006-07-13 | 1 | -1/+1 |
| |