Code cleanups
commit5d69c18c0a4a74cb73a4cc254db13f4276010011
authorKeith Moyer <keith@keith-laptop.keithmoyer.com>
Fri, 19 Dec 2008 03:57:33 +0000 (18 21:57 -0600)
committerKeith Moyer <keith@keith-laptop.keithmoyer.com>
Mon, 22 Dec 2008 06:47:44 +0000 (22 00:47 -0600)
treec7dd51a523641535299c3b679ae098f09aa0e84c
parent219be8e372267538ca012d020908a36f49cfcf2a
Code cleanups

Delete files and create symlinks using direct calls rather than _eval
Use nvram_safe_get rather than the nvram_get+logic (that was identical, but more verbose)
Use nvram_contains_word rather than nvram_get+strcmp
Use snprintf where appropriate to avoid extremely unlikely buffer overflow
More versatile debug printing
Safer handling of nvram variables
release/src/router/rc/vpn.c