Revision 7e3dbb94
ID | 7e3dbb94450bc3f5ace499f4f74a22fb5ae93890 |
Fix another breakage in SetEtcHostsEntry
The code assumes all lines have at least two elements which are
whitespace separated - i.e. it does not deal with empty lines or comment
lines with no spaces. This patch fixes this.
Also, the patch replaces the blank between IP and the canonical name
with a tab (restoring previous behaviour).
Reviewed-by: imsnah
Files
- added
- modified
- copied
- renamed
- deleted