rx: Refactor MaxMTU error checking
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 20 Nov 2011 16:29:55 +0000 (16:29 +0000)
committerDerrick Brashear <shadow@dementix.org>
Sat, 3 Dec 2011 14:15:59 +0000 (06:15 -0800)
commit1c4cd446605706e55e415cec15841acf8b1572e1
treea7019ff4a8ef18abb1ddf1d19279d6b8d715766b
parentae227049fca2519e1f5ae1e8b68efbff10ebb665
rx: Refactor MaxMTU error checking

The error checking on the rxMaxMTU parameter was done individually by
every server that sets it, using "internal" RX #defines to do so.
Instead, do the error checking within the function that actually sets
the MTU, reducing both the amount of code duplication, and the amount
of RX knowledge held within the servers.

Change-Id: Ic2cdd9425d5344a5137f76f66f711f4dee91a7b6
Reviewed-on: http://gerrit.openafs.org/6091
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/WINNT/afsd/afsd_init.c
src/bozo/bosserver.c
src/ptserver/ptserver.c
src/rx/rx_prototypes.h
src/rx/rx_user.c
src/viced/viced.c
src/vlserver/vlserver.c
src/volser/volmain.c