Commit Graph

12 Commits

Author SHA1 Message Date
Paul Slootman 24d73fe82d Implementation of "dialmode" (successor of "status") 1998-10-21 16:18:49 +00:00
Christian A. Lademann 9ca0e5aaf5 added the command "isdnctrl name ifdefaults": the named device is reset
to some reasonable defaults.

Internally, isdnctrl.c contains a list of functions (defs_fcns []), which
are called one after the other with the interface-name as a patameter.
Each function returns a char* to a string containing iscnctrl-commands
to be executed. Example:

char *
defs_budget(char *id) {
	static char	r [1024];
	char	*p = r;

	p += sprintf(p, "budget %s dial 10 1min\n", id);
	p += sprintf(p, "budget %s charge 100 1day\n", id);
	p += sprintf(p, "budget %s online 8hour 1day\n", id);

	return(r);
}

The advantage of this approach is, that even complex commands can be executed.

PS: The function defs_basic() in isdnctrl.c is not complete.
1998-06-09 18:11:36 +00:00
Christian A. Lademann b90c92c7ab fixed a problem parsing TimRu-Commands
started with TimRu-man-page
1998-03-16 09:40:57 +00:00
Christian A. Lademann 0778b3f949 added support for dynamic timeout-rules vs. 971110 1998-03-07 18:26:07 +00:00
Henner Eisen 511c9bbe52 added encap x25iface and l2_prot x25dte, x25dce 1998-02-12 23:14:44 +00:00
Fritz Elfert 813b5b270f Added cisco-hk encapsulation. 1997-10-03 21:48:09 +00:00
Fritz Elfert 5dc75c91fd Added Version-Checking of NET_DV. 1997-08-21 14:47:02 +00:00
Stefan Luethje e5b71f635a the call "isdnctrl pppbind ipppX" will be bound the interface to X 1997-07-30 20:09:32 +00:00
Stefan Luethje 5d3b036e53 added the option "force" for the commands delif and reset 1997-07-23 20:39:22 +00:00
Stefan Luethje 188a1a2b4a isdnrep: Use " " for blanks
isdnctrl: Add the option "reset"
1997-07-22 22:36:17 +00:00
Carsten Paeth f3cd1679cb isdnctrl trigger was not working. 1997-07-20 16:36:28 +00:00
Stefan Luethje 1ccdcb1131 isdnctrl can use a config file 1997-06-24 23:35:40 +00:00