Skip to content

Commit

Permalink
remove timeslot support (removed from OpenBSD)
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed Aug 19, 2017
1 parent 6d2c55a commit 23f1338
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -9,8 +9,8 @@ CFLAGS+=-Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast
SRCS=arp.c compile.c main.c genget.c commands.c stats.c kroute.c
SRCS+=ctl.c show.c if.c version.c route.c conf.c complete.c ieee80211.c
SRCS+=bridge.c tunnel.c media.c sysctl.c passwd.c pfsync.c carp.c
SRCS+=trunk.c who.c timeslot.c more.c stringlist.c utils.c sqlite3.c
SRCS+=ppp.c nopt.c pflow.c
SRCS+=trunk.c who.c more.c stringlist.c utils.c sqlite3.c ppp.c
SRCS+=nopt.c pflow.c
CLEANFILES+=compile.c
LDADD=-ledit -ltermcap -lsqlite3 -L/usr/local/lib #-static

Expand Down
1 change: 0 additions & 1 deletion commands.c
Expand Up @@ -542,7 +542,6 @@ struct intlist Intlist[] = {
{ "balancing", "CARP balancing mode", CMPL0 0, 0, intcarp },
{ "pflow", "pflow data export", CMPL0 0, 0, intpflow },
{ "vlan", "802.1Q vlan tag and parent", CMPL0 0, 0, intvlan }, /* XXX bkcompat */
{ "timeslots", "TDM timeslots", CMPL0 0, 0, inttimeslot },
{ "debug", "Driver dependent debugging", CMPL0 0, 0, intflags },
{ "dhcrelay", "DHCP Relay Agent", CMPL0 0, 0, intdhcrelay },
{ "wol", "Wake On LAN", CMPL0 0, 0, intxflags },
Expand Down
3 changes: 0 additions & 3 deletions conf.c
Expand Up @@ -558,9 +558,6 @@ void conf_interfaces(FILE *output, char *only)
conf_pflow(output, ifs, ifnp->if_name);
conf_mpw(output, ifs, ifnp->if_name);
conf_ifxflags(output, ifs, ifnp->if_name);
if (timeslot_status(ifs, ifnp->if_name, tmp,
sizeof(tmp)) == 1)
fprintf(output, " timeslots %s\n", tmp);
if (conf_dhcrelay(ifnp->if_name, tmp, sizeof(tmp))
> 0)
fprintf(output, " dhcrelay %s\n", tmp);
Expand Down
4 changes: 0 additions & 4 deletions externs.h
Expand Up @@ -491,10 +491,6 @@ void show_trunk(int ifs, char *ifname);
/* who.c */
int who(int, char **);

/* timeslot.c */
int inttimeslot(char *, int, int, char **);
int timeslot_status(int, char *, char *, int);

/* arp.c */
int arpget(const char *);
int arpset(int, char **);
Expand Down

0 comments on commit 23f1338

Please sign in to comment.