diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
commit | 6ca409e0e4c198fe3081346eebbae3f068fe605a (patch) | |
tree | 060cb05d99220a1eda399194d1209c269f0e8cd8 /networking/libiproute/iprule.c | |
parent | 4185548984357df91311f30c8e43d95f33922576 (diff) | |
download | busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2 busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip |
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount
of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts
size saving: 0.5k
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r-- | networking/libiproute/iprule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 8e2a06f4f..18ae6b5ef 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -187,7 +187,7 @@ static int iprule_list(int argc, char **argv) | |||
187 | /* Return value becomes exitcode. It's okay to not return at all */ | 187 | /* Return value becomes exitcode. It's okay to not return at all */ |
188 | static int iprule_modify(int cmd, int argc, char **argv) | 188 | static int iprule_modify(int cmd, int argc, char **argv) |
189 | { | 189 | { |
190 | static const char keywords[] = | 190 | static const char keywords[] ALIGN1 = |
191 | "from\0""to\0""preference\0""order\0""priority\0" | 191 | "from\0""to\0""preference\0""order\0""priority\0" |
192 | "tos\0""fwmark\0""realms\0""table\0""lookup\0""dev\0" | 192 | "tos\0""fwmark\0""realms\0""table\0""lookup\0""dev\0" |
193 | "iif\0""nat\0""map-to\0""type\0""help\0"; | 193 | "iif\0""nat\0""map-to\0""type\0""help\0"; |
@@ -313,7 +313,7 @@ static int iprule_modify(int cmd, int argc, char **argv) | |||
313 | /* Return value becomes exitcode. It's okay to not return at all */ | 313 | /* Return value becomes exitcode. It's okay to not return at all */ |
314 | int do_iprule(int argc, char **argv) | 314 | int do_iprule(int argc, char **argv) |
315 | { | 315 | { |
316 | static const char ip_rule_commands[] = | 316 | static const char ip_rule_commands[] ALIGN1 = |
317 | "add\0""delete\0""list\0""show\0"; | 317 | "add\0""delete\0""list\0""show\0"; |
318 | int cmd = 2; /* list */ | 318 | int cmd = 2; /* list */ |
319 | 319 | ||