|
From: <lin...@us...> - 2002-10-22 17:32:42
|
Update of /cvsroot/dvbtools/dvbtune
In directory usw-pr-cvs1:/tmp/cvs-serv19100
Modified Files:
dvbtune.c
Log Message:
fixed name of network device
Index: dvbtune.c
===================================================================
RCS file: /cvsroot/dvbtools/dvbtune/dvbtune.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** dvbtune.c 12 Oct 2002 11:59:31 -0000 1.15
--- dvbtune.c 22 Oct 2002 17:32:39 -0000 1.16
***************
*** 1399,1403 ****
--- 1399,1407 ----
netif.if_num = 0; // always choosen the next free number
+ #ifdef NEWSTRUCT
sprintf(devnamen,"/dev/ost/net%d",dev);
+ #else
+ sprintf(devnamen,"/dev/dvb/adapter%d/net0",dev);
+ #endif
//printf("Trying to open %s\n",devnamen);
if((fdn = open(devnamen,O_RDWR|O_NONBLOCK)) < 0) {
|