Code Monkey home page Code Monkey logo

iptoasn's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bls

iptoasn's Issues

Replacement module

Hi there, first of all, thanks for the great node module. Unfortunately it wasn't updated for a long time and does not even build anymore. I have create a new one with nearly the same API as such, only using async/await but otherwise I tried to be close to this module. The code is at https://github.com/cloudron-io/asnlookup

Ideally I wanted to use the iptoasn or ip2asn module name, as I think that is much better than asnlookup however since it is would not be a drop-in replacement, I just wanted to let people know if they look for something similar.

install errors

Hi!

My versions:

$ npm -v
3.10.10
$ node -v
v6.11.0

When I try to install the package I get:

> [email protected] install /Users/robert/bitfinex/bfx-util-net-js/node_modules/iptoasn
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/addon/src/addon.o
  CXX(target) Release/obj.target/addon/src/bgpsearch.o
../src/bgpsearch.cc:115:5: error: use of undeclared identifier 'errno'
    errno = 0;
    ^
../src/bgpsearch.cc:117:28: error: use of undeclared identifier 'errno'
    if(end == octet_str || errno != 0 || octet > 255) return false;
                           ^
../src/bgpsearch.cc:131:3: error: use of undeclared identifier 'errno'
  errno = 0;
  ^
../src/bgpsearch.cc:134:22: error: use of undeclared identifier 'errno'
  if(end == token || errno != 0 || netmask_bits_ul > 32) return false;
                     ^
../src/bgpsearch.cc:143:3: error: use of undeclared identifier 'errno'
  errno = 0;
  ^
../src/bgpsearch.cc:146:22: error: use of undeclared identifier 'errno'
  if(end == token || errno != 0 || asn_ul > std::numeric_limits<uint32_t>::max()) return false;
                     ^
6 errors generated.
make: *** [Release/obj.target/addon/src/bgpsearch.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.