[Nfd-dev] NFDC Register

Alex Afanasyev afanasev at CS.UCLA.EDU
Tue Jan 27 09:10:26 PST 2015


I cannot reproduce this problem on my macbook.

Ivan, can you show us the exact command that resulted in the error?

I tried

    nfdc register /ndn/ tcp4://spurs.cs.ucla.edu/ <tcp4://spurs.cs.ucla.edu/>

and 

    nfdc register /ndn udp://spurs.cs.ucla.edu/ <udp://spurs.cs.ucla.edu/>

Both succeeded, as expected

—
Alex

> On Jan 27, 2015, at 7:41 AM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> 
> Hi Lan
> 
> There's already a test case for trailing slash:
>     addTest("udp4://192.0.2.4:6363/ <http://192.0.2.4:6363/>", true, "udp4://192.0.2.4:6363 <http://192.0.2.4:6363/>");
> But there's no test case with DNS resolution + trailing slash.
> 
> Please report a bug on Redmine.
> 
> Yours, Junxiao
> 
> On Jan 27, 2015 8:35 AM, "Lan Wang (lanwang)" <lanwang at memphis.edu <mailto:lanwang at memphis.edu>> wrote:
> >
> > Maybe the function that canonizes faceUri needs to remove the trailing /?
> >
> > Lan
> >
> > On Jan 27, 2015, at 4:26 AM, Ivan Yeo <ivanyeo at CS.UCLA.EDU <mailto:ivanyeo at CS.UCLA.EDU>> wrote:
> >
> > > Hi all,
> > >
> > > Thanks for all the help and replies. I finally got it figured out. I left the trailing slash '/' at the end of the command and it cause both an error on this Mac OS X Yosemite 10.10 that I'm running and on the Android as well. Nonetheless, when I removed it, all was fine. I have since been able to use nfdc to append a RIB entry.
> > >
> > > The command that works for me now is: nfdc register /ndn tcp4://spurs.cs.ucla.edu <http://spurs.cs.ucla.edu/>
> > >
> > > Cheers,
> > > Ivan
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150127/de1daab3/attachment.html>


More information about the Nfd-dev mailing list