Skip to content

Commit

Permalink
Remove used declarations from conf.h
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Apr 22, 2013
1 parent 523d301 commit 4a76dc8
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/include/conf.h
Expand Up @@ -13,26 +13,3 @@
#define SRADUTMP LOGDIR "/sradutmp"
#define RADWTMP LOGDIR "/radwtmp"
#define SRADWTMP LOGDIR "/sradwtmp"

/* Hack for funky ascend ports on MAX 4048 (and probably others)
The "NAS-Port-Id" value is "xyyzz" where "x" = 1 for digital, 2 for analog;
"yy" = line number (1 for first PRI/T1/E1, 2 for second, so on);
"zz" = channel number (on the PRI or Channelized T1/E1).
This should work with normal terminal servers, unless you have a TS with
more than 9999 ports ;^).
The "ASCEND_CHANNELS_PER_LINE" is the number of channels for each line into
the unit. For my US/PRI that's 23. A US/T1 would be 24, and a
European E1 would be 30 (I think ... never had one ;^).
This will NOT change the "NAS-Port-Id" reported in the detail log. This
is simply to fix the dynamic IP assignments a la Cistron.
You can change the default of 23 with an argument to ./configure.
WARNING: This hack works for me, but I only have one PRI!!! I've not
tested it on 2 or more (or with models other than the Max 4048)
Use at your own risk!
-- dgreer@austintx.com
*/
#ifdef ASCEND_PORT_HACK
# ifndef ASCEND_CHANNELS_PER_LINE
# define ASCEND_CHANNELS_PER_LINE 23
# endif
#endif

0 comments on commit 4a76dc8

Please sign in to comment.