This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Why does PPP failed at adding default route every other time?


>From packages/error/current/include/codes.h, 355 means
ENOBUFS.  My guess is that the malloc is failing in
rtrequest, but unfortunately I'm not sure about that,
nor can I tell you why the malloc is failing.  You'll
probably have to step through it to find exactly where
the failure is.

-- Matt

--- Weili Yao <weili_yao@trimble.com> wrote:

> The errno is 355 after the write() function got
> executed.
> Thanks!
> 
> Weili
> 
> -----Original Message-----
> From: Matt Jerdonek [mailto:maj1224@yahoo.com] 
> Sent: Thursday, November 17, 2005 3:46 PM
> To: Weili Yao; ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] Why does PPP failed at adding
> default route every
> other time?
> 
> What are you getting for the errno?
> 
> --- Weili Yao <weili_yao@trimble.com> wrote:
> 
> > Does anybody know why PPP failed to add default
> > route every other time?
> > 
> > The failure is at file
> > net/ppp/current/src/sys-ecos.c, function
> > dodefaultroute(). It failed at write().
> > 
> > When PPP is successfully established at the first
> > time, the default
> > route can be successfully added. Then I
> disconnected
> > the PPP, and
> > established the PPP again at the second time, then
> > the default route
> > adding failed. If I re-established the PPP at the
> > third time, the
> > default route adding is success. The default route
> > adding failed at
> > every other time.
> > 
> > I noticed that when I disconnected PPP, the
> default
> > route got correctly
> > deleted.
> > 
> > Thank you very much for your help.
> > 
> > Weili Yao
> > 
> > 
> > --
> > Before posting, please read the FAQ:
> > http://ecos.sourceware.org/fom/ecos
> > and search the list archive:
> > http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! FareChase: Search multiple travel sites in
> one click.
> http://farechase.yahoo.com
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]